Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Npm Public API MCP

MCP server by eBay Verified · npm:@ebay

Lets AI assistants discover and call eBay's REST and GraphQL APIs in read-only production mode. Built for developers who want live eBay marketplace data in tools like Claude Desktop, Cursor and Cline.

  • Score 71
  • 57 stars
  • 547 a week
  • Apache-2.0
  • Updated

Install Npm Public API MCP

Built from the published package, never by AI.

claude mcp add npm-public-api-mcp -- npx -y @ebay/npm-public-api-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Npm Public API MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the npm-public-api-mcp block.

About

The eBay API MCP Server lets AI assistants such as Claude Desktop, Cursor and Cline discover and call eBay marketplace APIs. It covers both REST APIs, found through OpenAPI specs, and GraphQL APIs, found through schema discovery. Users describe what they want in plain language and do not need to memorize endpoints.

Setup needs a Client ID and Client Secret. The server handles OAuth token generation and refresh. It offers an application token mode for public data and a user token mode for private data, which uses a refresh token. It is built for read-only access to production data, and it does not officially support the sandbox. It suits developers who want AI assistants to work with eBay data.

Written from the project's README and checked against it.

Tools it gives your assistant

  • query_ebay_apiSearches eBay's OpenAPI specifications using a natural language prompt.
  • call_ebay_apiExecutes calls to eBay's REST APIs and returns live marketplace data.
  • query_ebay_graphqlSearches eBay's GraphQL schema for queries, types and fields.
  • call_ebay_graphqlExecutes GraphQL queries against eBay's API and returns live marketplace data.
  • interpret_user_requestMCP prompt that guides when to use the REST discovery and invocation tools.
  • interpret_graphql_requestMCP prompt that guides when to use the GraphQL schema and query tools.

What you need

  • Node.js 22 or higher
  • eBay Developer Account
  • eBay Client ID and Client Secret
  • eBay refresh token for user token mode (optional)

Try asking

  • Find eBay APIs related to product listings
  • Search for iPhone 15 listings and show me the top 5 results
  • What fields are available on the Order type?

Good to know

  • Sandbox environment is not officially supported.
  • REST APIs: only GET requests are supported.
  • GraphQL API: only Query operations are supported, no Mutations.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Npm Public API MCP

All alternatives →

Compare with Spree Commerce: open-source B2B and marketplace ecommerce, Spree Commerce developer docs for AI agents or Crossly

Npm Public API MCP: common questions

Does it support the eBay sandbox?

No. The source says this release does not officially support the sandbox, although the EBAY_API_ENV setting exists.

Can it create or change listings and orders?

Not in this release. REST calls are GET only and GraphQL supports only Query operations, so production access is read-only.

How does it handle eBay tokens?

The server generates and refreshes OAuth tokens automatically from the Client ID and Client Secret. User token mode uses a refresh token to access private data.

How do I install Npm Public API MCP?

In Claude Code run claude mcp add npm-public-api-mcp -- npx -y @ebay/npm-public-api-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Npm Public API MCP the official server?

Npm Public API MCP is published by npm:@ebay from its verified domain in the official MCP Registry.

Is Npm Public API MCP free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Npm Public API MCP safe to use?

It scores 71 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Npm Public API MCP?

Similar MCP servers: Spree Commerce: open-source B2B and marketplace ecommerce, Spree Commerce developer docs for AI agents, Crossly, Dev MCP.

Does Npm Public API MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Npm Public API MCP Install

Add to stack

Loading.