Skip to main content

Apiguru MCP Server

Live Amazon marketplace data for AI agents — product details, reviews, keyword search, best-sellers, deals, live offers and stock, and seller profiles across 20 country marketplaces.

No API key required. Unkeyed callers get a small free probe budget, then an HTTP 402 payment challenge payable autonomously via x402 (USDC on Base mainnet). Bring an API key if you already have one and calls bill to your account instead.

Install

No install step is required: uvx fetches and caches the server on first launch, straight from GitHub (or from PyPI once apiguru-mcp is published there).

uvx --from "git+https://github.com/apiguru-app/agent-kit#subdirectory=mcp" apiguru-mcp

Claude Code

# remote (nothing to run locally):
claude mcp add --transport http apiguru https://mcp.apiguru.app/mcp
# or the plugin, which also carries the skill:
/plugin marketplace add apiguru-app/agent-kit
/plugin install apiguru@apiguru

Codex CLI

codex mcp add apiguru --url https://mcp.apiguru.app/mcp
# or locally:
codex mcp add apiguru -- uvx --from "git+https://github.com/apiguru-app/agent-kit#subdirectory=mcp" apiguru-mcp

Hermes Agent / OpenClaw / any stdio client

{
  "mcpServers": {
    "apiguru": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/apiguru-app/agent-kit#subdirectory=mcp", "apiguru-mcp"],
      "env": { "APIGURU_API_KEY": "optional-key-here" }
    }
  }
}

Drop the env block entirely to run keyless.

claude.ai, Claude Desktop connectors, ChatGPT connectors

https://mcp.apiguru.app/account

Add it as a custom connector. The client discovers the OAuth 2.1 authorization server, registers itself, and sends you to a sign-in page where you use your Apiguru dashboard e-mail and password or paste an API key (Google sign-in accounts use the key). Every call then bills your account at your plan's rates. Disconnect from the client to revoke.

These clients call from their vendor's shared addresses and cannot send headers, which is why the keyless endpoint below is the wrong choice for them: all of their users would share one free-probe budget.

Remote, keyless (Claude Code, Codex, Hermes, any agent that can send headers)

https://mcp.apiguru.app/mcp

Streamable HTTP. Send X-API-KEY if you have one; omit it to go keyless.

Tools

Tool Does Price
list_capabilities Endpoints, prices, marketplaces free, no network call
product_details Full record for one ASIN $0.01
product_details_batch Up to 20 ASINs at once $0.008/item
product_reviews Reviews, rating, "customers say" $0.01
search Keyword search with filters and sorting $0.01
offers_stock Offers, buy box, live stock (≤10 ASINs) $0.015/item
best_sellers Category rankings $0.01
deals Current discounts with filters $0.01
seller_profile_batch Seller profiles (≤10 IDs) $0.012/item
seller_products A seller's catalogue $0.01
seller_reviews Seller feedback $0.01

Prefer the batch tools over looping the single-item ones — they are cheaper per item and one round trip instead of N.

Error semantics worth knowing

Some errors cost money and some do not:

  • 404 — the item genuinely isn't on that marketplace. Billed. Retrying won't help; try a different geo.
  • 503 — an Apiguru-side fetch failure. Not billed. Retry. On the keyless path a free probe spent on a 503 is handed back, and a signed x402 payment is left unsettled (X-Payment-Status: not-settled).
  • 429 — rate limit. Back off and retry.
  • 413 — too many items in a batch (20 ASINs for product_details_batch, 10 for offers_stock and seller_profile_batch). Not billed; split the list.
  • 400 — bad input (ASINs must be 10 uppercase alphanumeric chars). Not billed.

Configuration

Variable Default Purpose
APIGURU_API_KEY unset Use the keyed API instead of the keyless gateway
APIGURU_BASE_URL from spec Override the API base (self-hosted/staging)
APIGURU_MCP_ALLOWED_HOSTS mcp.apiguru.app,localhost,127.0.0.1 Hosts the HTTP transport accepts. Must include the public hostname when running behind a reverse proxy, or every request is rejected with 421.
APIGURU_MCP_ALLOWED_ORIGINS derived CORS/DNS-rebinding origin allowlist
APIGURU_MCP_STATELESS true Stateless streamable HTTP. Keep it on: in stateful mode the SDK snapshots each session's request context at initialize, so a key sent on a later request would be ignored.
APIGURU_AGENT_INTERNAL_URL unset Hosted deployments only: the gateway's address on the private network. With AGENT_INTERNAL_TOKEN set, keyless calls go there and carry the real caller's address so free probes are keyed per caller, not per MCP container.
APIGURU_OAUTH_ENABLED false Hosted deployments only: mount the OAuth 2.1 endpoint at /account (needs DATABASE_URL; tokens are stored hashed in mcp_oauth_* tables).
APIGURU_MCP_PUBLIC_URL from spec The OAuth issuer, e.g. https://mcp.apiguru.app.
APIGURU_API_INTERNAL_URL unset Hosted deployments only: the backend on the private network, used for keyed calls and for proxying password logins to its /login.
APIGURU_OAUTH_ACCESS_TTL / APIGURU_OAUTH_REFRESH_TTL 1 day / 30 days Token lifetimes in seconds. Refresh tokens rotate.

Running the HTTP server yourself

pip install "apiguru-mcp[http]"
apiguru-mcp --http --host 0.0.0.0 --port 8790

Also serves /health, /llms.txt and /spec.json unauthenticated.

Development

Tools are generated from apiguru_mcp/data/endpoints.json, which is written by agent-kit/spec/generate.py from the canonical spec. To add or change an endpoint, edit agent-kit/spec/endpoints.json and re-run the generator — the MCP tools, the OpenAPI document and llms.txt all update together.

python agent-kit/spec/generate.py

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apiguru_mcp-1.0.0.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apiguru_mcp-1.0.0-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file apiguru_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: apiguru_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for apiguru_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 98e85af03105c2279dbefbd22aa6fbc354ddb4a2da682ee9ae3e0332413c00f5
MD5 5b907952f40de9387c77d39085ebd75a
BLAKE2b-256 15f6bfabb46b6e7f909cb603da369b1e62de57521863a1f6aadecc29e1f8af6e

See more details on using hashes here.

File details

Details for the file apiguru_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: apiguru_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for apiguru_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cca5cc3d6cff566e015950c2f8bab739c0df6b6985ab3e477433c0feb2688ec
MD5 b7366b9e87aca634a57c02512de1ddb4
BLAKE2b-256 c653458eeeca853170297adefcfac1887176fa24f76c0cebdc78252d2a8b5b67

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page