About AnyAPI
AnyAPI is a local stdio MCP server that proxies to a hosted gateway for scraping and data APIs. It provides a searchable API catalog, normalized schemas, USD quotes, and paid API execution with automatic failover.
Key features
- 01Search and browse the API catalog
- 02Inspect normalized input and output schemas
- 03Quote request costs before execution
- 04Run APIs and reshape prior results
- 05Inspect or resume durable requests
Use cases
- 01Find an API for a data collection task
- 02Review an API schema and price before running it
- 03Run a data API and shape its output
- 04Check a request without repeating a paid dispatch
MCP support
The local stdio server proxies MCP requests to the hosted endpoint at https://api.getanyapi.com/mcp. Clients supporting remote Streamable HTTP can connect to that endpoint directly.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.getanyapi.com/mcpclaude mcp add --transport http getanyapi-com-anyapi https://api.getanyapi.com/mcp{"mcpServers":{"getanyapi-com-anyapi":{"type":"http","url":"https://api.getanyapi.com/mcp"}}}Open in Cursor{"servers":{"getanyapi-com-anyapi":{"type":"http","url":"https://api.getanyapi.com/mcp"}}}Open in VS Code{"mcpServers":{"getanyapi-com-anyapi":{"type":"http","url":"https://api.getanyapi.com/mcp"}}}{"mcpServers":{"getanyapi-com-anyapi":{"serverUrl":"https://api.getanyapi.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://api.getanyapi.com/mcpAuth requiredTools
10| Parameter | Type | Required | Description |
|---|---|---|---|
| sku_id | string | Yes | the API SKU slug to describe |
| context | string | Yes | Brief purpose of this tool call within the requested task, used for analytics and user-intent tracking. |
Details
From the project READMEAnyAPI MCP server
Hundreds of scraping and data APIs through one gateway: one key, USD pay-per-request, normalized schemas, automatic failover.
This package is a local stdio MCP server that proxies to the hosted AnyAPI
MCP server at https://api.getanyapi.com/mcp. Clients that speak remote
Streamable HTTP can point at that URL directly and skip this package entirely.
Use this one when your client only launches local MCP servers over stdio.
- Website: https://getanyapi.com
- Docs: https://getanyapi.com/docs - MCP page: https://getanyapi.com/docs/mcp-server
- Contact: [email protected]
Install
With npx, no clone and no build:
{
"mcpServers": {
"anyapi": {
"command": "npx",
"args": ["-y", "anyapi-mcp"],
"env": { "ANYAPI_API_KEY": "aa_live_..." }
}
}
}
With Docker, no clone and no build:
{
"mcpServers": {
"anyapi": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "ANYAPI_API_KEY", "ghcr.io/getanyapi-com/mcp"],
"env": { "ANYAPI_API_KEY": "aa_live_..." }
}
}
}
Get a key at https://getanyapi.com/dashboard/keys. Agents can mint their own free-trial key with no dashboard and no email:
curl -s -X POST https://api.getanyapi.com/agent/signup
Configuration
| Variable | Required | Default | Meaning |
|---|---|---|---|
ANYAPI_API_KEY | No | none | Your AnyAPI key. Running an API needs it. Connecting, listing the tools, and the four catalog tools do not. |
ANYAPI_MCP_URL | No | https://api.getanyapi.com/mcp | The hosted endpoint to proxy to. |
The key is optional on purpose, but be precise about what that buys. The hosted
server answers initialize and tools/list without a credential, so a client
connects and sees the ten tools with no account. It also answers the four
catalog tools without one - search_apis, list_apis, get_api and
quote_api - so a keyless install can find an API, read its input schema and
price a call. run_api and the account tools return 401 without a key.
The same catalog is public over REST as well:
GET https://api.getanyapi.com/catalog and
GET https://api.getanyapi.com/catalog/search.
Tools
Ten tools, read live from the hosted server rather than declared in this package, so a catalog or schema change reaches you without a release here.
| Tool | What it does |
|---|---|
search_apis | Search APIs by meaning and keyword. Takes any combination of query, category and platform; a scope on its own is a complete search. |
list_apis | Browse the catalog as lightweight summaries (id, name, category, USD pricing), with an optional category. |
get_api | The full definition of one API: normalized input/output JSON Schemas, per-lane USD pricing, and trailing-30-day latency. |
quote_api | The exact USD price of a run_api call before running it. Nothing is charged or executed. |
run_api | Execute an API by SKU with normalized input. Returns the output, costUsd, and items. Supports fields, max_items, summary and jq. |
get_request | Inspect or resume a durable request. Reads stored state and never repeats the paid dispatch. |
read_result | Re-shape a prior run's output without re-running or paying again. |
get_balance | The remaining USD wallet balance for the key. |
report_bug | Report wrong, empty, or malformed data for input you believe is valid. Free. |
send_feedback | Report a missing API, a missing field, or anything confusing. Free. |
Failed calls are never charged.
Develop
npm install
npm run check # build, then unit tests
npm run check needs no network and no API key. To drive the built server
against production by hand:
npm run build
ANYAPI_API_KEY=aa_live_... node dist/index.js
License
Apache-2.0
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.