Provides access to hundreds of scraping and data APIs through a single gateway with normalized schemas and automatic failover.
Also known as getanyapi-com/mcp, mcp, anyapi-mcp
- Stars
- 1
- Tools
- 10
- Downloads, 30 days
- —
- Latest version
- 0.1.5
- Last commit
- Sep 6, 2026
- License
- Apache-2.0
What is AnyAPI MCP?
AnyAPI provides access to hundreds of scraping and data APIs through a single gateway with normalized schemas and automatic failover. It exposes 10 tools, such as search_apis, list_apis, get_api.
Summary generated from the project's README
About AnyAPI MCP server
AnyAPI acts as a single gateway to hundreds of scraping and data APIs. It provides a unified interface with normalized schemas and automatic failover to ensure reliability. Developers can use this as a local stdio MCP server via npx or Docker, or connect directly to the hosted remote endpoint if their client supports Streamable HTTP.
Users can explore the catalog using tools like search_apis, list_apis, get_api, and quote_api without needing an account. However, executing requests through run_api or checking account details like get_balance requires an ANYAPI_API_KEY. The service operates on a pay-per-request USD model, and the server includes tools to inspect durable requests with get_request or reshape previous outputs using read_result. This setup allows agents to find, price, and execute data tasks through one integrated connection.
What you can do with it
- 1Estimate API execution costsDetermine the exact price of a request before actually running the command.
- 2Manage data retrieval costsCheck the remaining USD balance available in your wallet.
Written from the project's README. Every use case is checked against a quote from it.
How to install AnyAPI MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall AnyAPI MCP in Claude Code
$ claude mcp add --env 'ANYAPI_API_KEY=<YOUR_ANYAPI_API_KEY>' mcp -- npx -y anyapi-mcpInstall AnyAPI MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"anyapi-mcp"
],
"env": {
"ANYAPI_API_KEY": "<YOUR_ANYAPI_API_KEY>"
}
}
}
}Install AnyAPI MCP in VS Code
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"anyapi-mcp"
],
"env": {
"ANYAPI_API_KEY": "<YOUR_ANYAPI_API_KEY>"
}
}
}
}Install AnyAPI MCP in VS Code CLI
$ code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","anyapi-mcp"],"env":{"ANYAPI_API_KEY":"<YOUR_ANYAPI_API_KEY>"}}'Install AnyAPI MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"anyapi-mcp"
],
"env": {
"ANYAPI_API_KEY": "<YOUR_ANYAPI_API_KEY>"
}
}
}
}Install AnyAPI MCP in Codex
$ codex mcp add mcp --env 'ANYAPI_API_KEY=<YOUR_ANYAPI_API_KEY>' --env 'ANYAPI_API_KEY=<YOUR_ANYAPI_API_KEY>' -- npx -y anyapi-mcpInstall AnyAPI MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.mcp] command = "npx" args = ["-y", "anyapi-mcp"] [mcp_servers.mcp.env] ANYAPI_API_KEY = "<YOUR_ANYAPI_API_KEY>"
Install AnyAPI MCP in Gemini CLI
$ gemini mcp add -s user -e 'ANYAPI_API_KEY=<YOUR_ANYAPI_API_KEY>' -e 'ANYAPI_API_KEY=<YOUR_ANYAPI_API_KEY>' mcp npx -- -y anyapi-mcpInstall AnyAPI MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"anyapi-mcp"
],
"env": {
"ANYAPI_API_KEY": "<YOUR_ANYAPI_API_KEY>"
}
}
}
}AnyAPI MCP tools 10
Detected from the READMEsearch_apislist_apisget_apiquote_apirun_apiget_requestread_resultget_balancereport_bugsend_feedback
| search_apis | — | |
| list_apis | — | |
| get_api | — | |
| quote_api | — | |
| run_api | — | |
| get_request | — | |
| read_result | — | |
| get_balance | — | |
| report_bug | — | |
| send_feedback | — |
Configuration
ANYAPI_API_KEYSecretAnyAPI API key (format: aa_live_...). Mint one at https://getanyapi.com/dashboard/keys. Needed to run an API; connecting, listing the tools, and the catalog tools (list_apis, search_apis, get_api, quote_api) all work without it.
ANYAPI_API_KEYSecretAnyAPI API key (format: aa_live_...). Mint one at https://getanyapi.com/dashboard/keys. Needed to run an API; connecting, listing the tools, and the catalog tools (list_apis, search_apis, get_api, quote_api) all work without it.
| Name | Description | |
|---|---|---|
| ANYAPI_API_KEY | AnyAPI API key (format: aa_live_...). Mint one at https://getanyapi.com/dashboard/keys. Needed to run an API; connecting, listing the tools, and the catalog tools (list_apis, search_apis, get_api, quote_api) all work without it. | Secret |
| ANYAPI_API_KEY | AnyAPI API key (format: aa_live_...). Mint one at https://getanyapi.com/dashboard/keys. Needed to run an API; connecting, listing the tools, and the catalog tools (list_apis, search_apis, get_api, quote_api) all work without it. | Secret |
Automated checks
Ran Nov 13, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablegetanyapi-com/mcp is public and reachablegithub.com/getanyapi-com/mcp ↗Pass
- Package names this repository as its sourceanyapi-mcp names getanyapi-com/mcp as sourcenpmjs.com/package/anyapi-mcp ↗Pass
- Build provenance (Sigstore attestation)Sigstore attestation for anyapi-mcpnpmjs.com/package/anyapi-mcp/v/0.1.5#provenance ↗Pass
- Open source license (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-09-06github.com/getanyapi-com/mcp ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from anyapi-mcpPass
- No critical advisory in the package or its dependencies99 resolved dependencies checked; no critical advisoryosv.dev ↗Pass
- No hidden instructions to the model10 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNo tool named like delete, drop or execPass
- Remote endpoint answers the MCP handshakeinitialize answered with protocol 2025-06-18 in 551 msPass
README
View on GitHubAnyAPI 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: support@getanyapi.com
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
AnyAPI MCP questions
How do I add AnyAPI MCP to Claude Code?
Run claude mcp add --env 'ANYAPI_API_KEY=<YOUR_ANYAPI_API_KEY>' mcp -- npx -y anyapi-mcp in your terminal. Add --scope user to make it available in every project.
How do I add AnyAPI MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does AnyAPI MCP provide?
It exposes 10 tools, including search_apis, list_apis, get_api, quote_api, run_api.
Do I need an API key to use the server?
You can connect and use catalog tools like searching and listing APIs without a key, but executing an API requires one.
What happens if an API call fails?
Failed calls are not charged to your account.
Can I use this without installing the package?
Yes, clients that support remote Streamable HTTP can point directly to the hosted URL.