API.SH MCP Server
Public web data as JSON from around 1,000 websites: search, social media, e-commerce, jobs and more
API.SH scores 66 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 4 tools. Filed under Communication. GitHub shows 0 stars. Package registries report about 58 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "api-apish": { "command": "npx", "args": [ "-y", "@api.sh/mcp@1.2.0" ], "env": { "APISH_API_KEY": "YOUR_APISH_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
APISH_API_KEYSecret | Required | Your API.SH API key (create one at https://app.api.sh) |
Tools4Tool docs quality grade C
All capabilitiescall_apitoolRun an endpoint and return its JSON. This is the only tool that spends credits.
get_endpointtoolFull details of one endpoint: every parameter with examples, and its price.
request_apitoolAsk for a site that is not in the catalog yet.
search_apistoolSearch the catalog by site or data type. Returns routes, required parameters and credit price.
About
API.SH MCP server
API.SH turns public web pages from around 1,000 websites into clean JSON: search engines, social media, e-commerce, real estate, jobs, travel, news and sports (Google, Amazon, TikTok, Zillow, LinkedIn and more). This MCP server lets an AI assistant find the right endpoint, read its parameters and call it for you.
There are two ways to connect:
- Remote (recommended). Point your client at
https://mcp.api.sh/mcp. Nothing to install. Sign in with OAuth, or send your API key as a Bearer token. - Local. Run
npx -y @api.sh/mcp, the package in this repository. Use it when your client only runs local (stdio) MCP servers.
The local server is a thin bridge: it forwards every request to https://mcp.api.sh/mcp with your key. You get exactly the same tools, descriptions and results as the remote server, and new tools appear without an update.
Get an API key
Sign up and copy a key from the dashboard. Every account gets free monthly credits, and failed calls are free.
Option 1: remote server
Claude Desktop and claude.ai: Settings → Connectors → Add custom connector. Enter https://mcp.api.sh/mcp and sign in.
Claude Code:
claude mcp add --transport http apish https://mcp.api.sh/mcp
# or with a key instead of OAuth:
claude mcp add --transport http apish https://mcp.api.sh/mcp --header "Authorization: Bearer your-api-key"
Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"apish": {
"url": "https://mcp.api.sh/mcp"
}
}
}
VS Code (.vscode/mcp.json):
{
"servers": {
"apish": {
"type": "http",
"url": "https://mcp.api.sh/mcp"
}
}
}
Windsurf (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"apish": {
"serverUrl": "https://mcp.api.sh/mcp"
}
}
}
To skip OAuth in any client that supports headers, add "headers": { "Authorization": "Bearer your-api-key" } next to the URL.
Option 2: local server (npx)
Needs Node.js 20 or newer. Every client uses the same command, npx -y @api.sh/mcp, with your key in APISH_API_KEY.
Claude Desktop (claude_desktop_config.json, open it from Settings → Developer → Edit Config):
{
"mcpServers": {
"apish": {
"command": "npx",
"args": ["-y", "@api.sh/mcp"],
"env": { "APISH_API_KEY": "your-api-key" }
}
}
}
Cursor (~/.cursor/mcp.json) and Windsurf (~/.codeium/windsurf/mcp_config.json) use the same mcpServers block as Claude Desktop above.
VS Code (.vscode/mcp.json). VS Code asks for the key once and stores it securely:
{
"inputs": [
{ "type": "promptString", "id": "apish-key", "description": "API.SH API key", "password": true }
],
"servers": {
"apish": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@api.sh/mcp"],
"env": { "APISH_API_KEY": "${input:apish-key}" }
}
}
}
Claude Code:
claude mcp add apish --env APISH_API_KEY=your-api-key -- npx -y @api.sh/mcp
On Windows, if your client cannot find npx, use "command": "cmd" and "args": ["/c", "npx", "-y", "@api.sh/mcp"].
Environment variables
| Variable | Required | Default | What it does |
|---|---|---|---|
APISH_API_KEY | yes | Your API.SH API key. Sent as Authorization: Bearer <key>. | |
APISH_MCP_URL | no | https://mcp.api.sh/mcp | The remote MCP endpoint. |
APISH_TIMEOUT_MS | no | 300000 | How long to wait for one request, in milliseconds. |
The server writes status and errors to stderr. If the key is missing or rejected, it exits with a clear message that your client shows in its MCP log.
Tools
The tools come from the hosted server, so this list may grow. The main ones:
| Tool | What it does |
|---|---|
search_apis | Search the catalog by site or data type. Returns routes, required parameters and credit price. |
get_endpoint | Full details of one endpoint: every parameter with examples, and its price. |
call_api | Run an endpoint and return its JSON. This is the only tool that spends credits. |
get_balance, get_usage, list_logs, get_log | Credits, spending and your recent calls. get_log returns a past response again for free. |
set_spend_limits, list_keys, create_key, revoke_key | Spend limits and API keys. |
request_api | Ask for a site that is not in the catalog yet. |
Example prompts
- "Find the API.SH endpoint for Amazon product details, then get the price and rating for this product: "
- "Get the top Google results for 'best espresso machine' in the US and summarise what the first five pages recommend."
- "Pull the last 20 videos from the TikTok account @nasa and tell me which got the most views."
- "Look up this Zillow listing and show its price history: "
- "How many credits do I have left, and what did I spend them on this week?"
Use it from code
The package also exports the bridge, if you want to embed it:
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { connectRemote, createBridge } from "@api.sh/mcp";
const remote = await connectRemote({ apiKey: process.env.APISH_API_KEY });
await createBridge(remote).connect(new StdioServerTransport());
Development
npm ci
npm test # build and run the offline tests
APISH_API_KEY=your-api-key npm run test:live # one free search through the real server
The live test lists the tools and makes one search_apis call, which spends no credits.
Links
- MCP setup guide: https://api.sh/mcp?utm_source=github&utm_medium=readme
- API docs: https://api.sh/docs?utm_source=github&utm_medium=readme
- Live catalog (free, no key): https://api.api.sh/catalog
- Status: https://status.api.sh/?utm_source=github&utm_medium=readme
- Support: support@api.sh
License
Frequently asked questions
What is API.SH MCP Server?
Public web data as JSON from around 1,000 websites: search, social media, e-commerce, jobs and more
How do I install API.SH MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. API.SH MCP Server runs locally from the npm package @api.sh/mcp with the command npx -y @api.sh/mcp@1.2.0.
Is API.SH MCP Server free and open source?
Yes. API.SH MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does API.SH MCP Server support remote (HTTP) connections?
Yes. API.SH MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does API.SH MCP Server provide?
API.SH MCP Server provides 4 tools: call_api, get_endpoint, request_api, and search_apis. See the full tool list for descriptions and parameters.
How is API.SH MCP Server's trust score calculated?
API.SH MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.