Hertwill MCP

Connect AI agents to products from European and US brands

Give Claude, Cursor and other MCP-compatible AI agents access to Hertwill's product catalog. Discover products, research brands, calculate margins and sync selected products to your ecommerce store.

npx @hertwill/mcp

Runs locally via npx · Node.js 20.11+ · Open source (MIT)

At a glance

  • Local MCP server that runs on your computer over stdio
  • 13 tools and 8 built-in prompts
  • Product discovery works without an API key
  • Works with Claude Code, Claude Desktop, Cursor, VS Code and other MCP clients

What can you do with Hertwill MCP?

Discover products

Search products from European and US brands by keyword, category, brand, price, stock and shipping region.

Research brands and niches

Find brands and relevant products, compare options and look up each brand's shipping coverage and rates.

Calculate margins

Evaluate products on wholesale price, shipping, stock and variants. Work out break-even and margin for your retail price. Wholesale prices need an API key.

Build your Import List

Add, review and remove products in your Hertwill Import List.

API key

Sync products to your store

Sync products to your connected Shopify or WooCommerce store and check the status of sync jobs.

API key

See what you can ask your agent

Copy a prompt into Claude, Cursor or any connected agent. Prompts tagged API key use wholesale prices, your Import List or store sync, which need authentication.

“Find children's products under €30 wholesale that ship to Germany.”

“Help me find products for a premium pet accessories store.”

“Find Montessori brands and compare their products and shipping options.”

“Calculate the potential margin for this product if I sell it for €89.”

API key

“Add these products to my Hertwill Import List.”

API key

“Sync the selected products to my Shopify store.”

API key

Connect Hertwill to your AI agent

Hertwill MCP is a local server: your AI client starts it on your computer with npx. You need Node.js 20.11 or later.

Run in your terminal:

claude mcp add --scope user hertwill -- npx @hertwill/mcp

--scope user makes Hertwill available in all your projects. Run /mcp inside Claude Code to check that it is connected.

Using Cline, Continue or Windsurf? Add a server that runs npx @hertwill/mcp, following your client's MCP setup docs.

Add your API key

Product discovery works without a key, but wholesale prices are hidden. Add a key to see wholesale prices and to use the Import List and sync tools. Create one in your Hertwill account. Keys are scoped to one connected store.

For Claude Desktop and Cursor, use this config. In VS Code, add the same env block to the hertwill entry under servers.

{
  "mcpServers": {
    "hertwill": {
      "command": "npx",
      "args": ["@hertwill/mcp"],
      "env": {
        "HERTWILL_API_KEY": "hw_live_your_api_key"
      }
    }
  }
}

For Claude Code, add the server with the key (run claude mcp remove hertwill first if you already added it):

claude mcp add --scope user hertwill -e HERTWILL_API_KEY=hw_live_your_api_key -- npx @hertwill/mcp

Replace the placeholder with your own key, and keep it out of config files you commit to shared repositories.

MCP tools and built-in workflows

13 tools: 8 work without an API key and 5 need one. The authenticated tools only appear in your agent once a key is set.

Product search and browsing

  • search_products
  • list_products

Product and brand details

  • get_product
  • get_brand

Brand shipping information

  • get_brand_shipping_price_lists

Product evaluation and margins

  • evaluate_product
  • calculate_margin

Connection check

  • check_health

Import List management

API key
  • list_import_list
  • add_to_import_list
  • remove_from_import_list

Product sync and sync-job status

API key
  • sync_products
  • get_sync_jobs

8 built-in prompts

Ready-made workflows your agent can start from, for tasks like niche research, product evaluation, margin analysis and importing products.

  • hw-niche-researchResearch a niche across categories and brands
  • hw-winner-scanSearch, evaluate and calculate margins in one flow
  • hw-eu-winnersFind EU-shippable products with margin analysis
  • hw-seasonal-picksFind products for a season
  • hw-competitor-matchFind Hertwill alternatives to a competitor product
  • hw-margin-checkLook at the margin of one product in detailAPI key
  • hw-import-batchImport products in bulk after you confirm the listAPI key
  • hw-store-healthCheck your API key, connection, Import List and sync jobsAPI key

See the full list of tools, prompts and resources on GitHub

Hertwill MCP or the Hertwill API?

Hertwill MCP

For AI assistants and agents that discover and use Hertwill tools.

View on GitHub

Hertwill API

For developers building applications, integrations and backend workflows.

Read the API docs

Frequently asked questions

Start building with Hertwill MCP

Connect your AI agent to products from European and US brands.