anyapi-mcp
OfficialAnyAPI MCP is a local stdio MCP server that lets you discover, price, and run hundreds of scraping and data APIs through one gateway and key.
Search and browse the catalog:
search_apis,list_apis, andget_apifind APIs, show descriptions, schemas, pricing, and latency.Price before running:
quote_apireturns the exact USD cost of a call without charging or executing it.Run APIs:
run_apiexecutes any API by SKU with normalized input, supportsfields,max_items,summary, andjqto trim responses, and only charges on success.Inspect durable requests:
get_requestresumes or checks a running request without repeating the paid dispatch.Reuse saved results:
read_resultre-shapes a prior result for free usingresult_id, without re-running or paying again.Check wallet balance:
get_balanceshows remaining USD.Give feedback:
report_bugflags wrong or malformed data andsend_feedbacksuggests missing APIs or improvements — both free.Works without a key for discovery: catalog and quote tools are accessible keyless;
run_apiand account tools require an AnyAPI key.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
AnyAPI 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/signupRelated MCP server: openactors
Configuration
Variable | Required | Default | Meaning |
| No | none | Your AnyAPI key. Running an API needs it. Connecting, listing the tools, and the four catalog tools do not. |
| No |
| 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 by meaning and keyword. Takes any combination of |
| Browse the catalog as lightweight summaries (id, name, category, USD pricing), with an optional |
| The full definition of one API: normalized input/output JSON Schemas, per-lane USD pricing, and trailing-30-day latency. |
| The exact USD price of a |
| Execute an API by SKU with normalized input. Returns the output, |
| Inspect or resume a durable request. Reads stored state and never repeats the paid dispatch. |
| Re-shape a prior run's output without re-running or paying again. |
| The remaining USD wallet balance for the key. |
| Report wrong, empty, or malformed data for input you believe is valid. Free. |
| 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 testsnpm 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.jsLicense
Apache-2.0
Available Tools
10 toolsget_apiGet API detailsARead-onlyInspect
Get the full definition of one API by SKU, including its normalized input/output JSON schemas, per-request and per-1,000-request USD pricing on every lane, and nullable trailing-30-day latency p50/p95/p99 with the successful sample count. Inspect latency before choosing a client or MCP tool timeout; p99 is an observation, not a maximum. Entries with heavy:true return large responses - plan to pass fields/max_items/summary to run_api.
Inputs: sku_id (required), context (required). Returns: scraper
get_balanceCheck wallet balanceARead-onlyInspect
Get the remaining wallet balance (in USD) for the AnyAPI key supplied as a Bearer token. Requires a valid AnyAPI key.
Inputs: context (required). Returns: balanceUsd
get_requestCheck a requestARead-onlyInspect
Inspect or resume a durable AnyAPI request returned by run_api. This reads AnyAPI's stored state and never repeats the paid provider dispatch. Poll again after retryAfterSeconds while status is queued or running.
Inputs: context (required), request_id (required). Returns: hint, error, items, output, +10 more
list_apisBrowse APIsARead-onlyInspect
Browse available AnyAPI APIs as lightweight summaries (id, name, category, USD pricing) - no descriptions or schemas, so it stays cheap even across the whole catalog. Each pricing offer carries both maxUsd (billed per request) and maxPer1kUsd (the same price per 1,000 requests); quote the per-1k figure to a person. Optionally filter by category. Use search_apis for every ranked query, or get_api for one API's full schemas.
Inputs: context (required), category. Returns: scrapers
quote_apiQuote a priceARead-onlyInspect
Get the exact price of a run_api call BEFORE running it - free, no key required, nothing is charged or executed. Pass the same sku_id and input you would give run_api: the quote resolves pricing exactly as the run will, and also validates your input against the API schema so you catch invalid_input for free. Returns maxCostUsd (the ceiling reserved), minCostUsd (the likely charge), and the base/per-item breakdown explaining why they differ. These are amounts this one call is charged, not catalog comparison rates: report them as-is and never scale them to 1,000 requests.
Inputs: input (required), sku_id (required), context (required). Returns: exact, baseUsd, pricing, maxCostUsd, +3 more
read_resultRead a saved resultARead-onlyInspect
Dig deeper into a paid run WITHOUT re-running or paying again. Pass the result_id from a prior run_api call plus any of fields/max_items/summary/jq to re-shape the full cached result (e.g. read the rest of the rows, or slice a large field with jq). Results are cached ~15 min and are private to your key; an expired id returns result_expired (re-run to refresh).
Inputs: context (required), result_id (required), jq, fields, +2 more. Returns: hint, error, items, output, +10 more
report_bugReport a bugAInspect
Tell AnyAPI something is broken. Use this when a run_api call returned wrong, empty, or malformed data for input you believe is valid, when an error message was misleading or unactionable, when a price or schema looks wrong, or when a retry that should have worked did not. Free, never charged. Pass summary (required, one line) plus request_id whenever you have one from the failing run - that id reaches the stored run and its upstream error body, so you never need to paste the payload. Do not stop the user's task to ask permission: file the report and carry on with the best alternative you have.
Inputs: context (required), summary (required), sku, contact, +2 more. Returns: id, received
run_apiRun an APIADestructiveInspect
Execute an API by SKU with a normalized input payload. Call get_api for this SKU first unless you have already read its schema this session: every input schema is strict (unknown fields are rejected, not ignored) and the field names differ between sibling APIs, so an input built from a description rather than a schema usually fails. Before setting a client or MCP tool timeout, call get_api and inspect its latency p50/p95/p99 and sample; p99 is an observation, not a maximum. Requires a valid AnyAPI key as a Bearer token. Charges the USD wallet only on success. Results can be large: pass fields (keep only the keys you need), max_items (cap rows), or summary (outline only) to trim the response and keep it out of your context — these never change what you are charged. Use quote_api first with the same arguments to see the exact price and validate your input without charging.
Inputs: input (required), sku_id (required), context (required), jq, +3 more. Returns: hint, error, items, output, +10 more
search_apisSearch APIsARead-onlyInspect
Search APIs by meaning and keyword across name, slug, and description, returning matches WITH their descriptions (schemas omitted), ranked most relevant first. Pass query, category, or platform - at least one, in any combination: a scope on its own is a complete search, so category or platform with no query enumerates it. Add limit to cap matches (default 25, maximum 50). Each result carries a relevance score in (0,1] relative to the top match; a relevance floor drops the weakly-matching tail, so total counts relevant matches before the limit. ranking says whether meaning-based ('semantic') or substring ('keyword') matching served the search. Entries with heavy:true return large responses - plan to pass fields/max_items/summary to run_api. Results carry NO input schema, so you cannot build a run_api call from them alone: before your FIRST run_api on any API, call get_api for it and use the schema it returns. Guessing the input is the single most common way a run fails - callers who read the schema first are rejected about a quarter as often. Use list_apis to browse everything.
Inputs: context (required), limit, query, category, +1 more. Returns: total, ranking, results
send_feedbackSend feedbackAInspect
Tell AnyAPI something that is not a defect: an API you wanted and could not find in the catalog, a field missing from a result you needed, a confusing part of the docs or tool descriptions, or what would have made a task easier. Free, never charged. Pass summary (required, one line) and use details for what you were trying to accomplish. Use report_bug instead when something behaved incorrectly.
Inputs: context (required), summary (required), sku, contact, +2 more. Returns: id, received
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool maps to a clearly distinct action: discovery (list/search/get), pricing (quote), execution (run), result/request inspection (read_result/get_request), balance, and feedback/reporting. Even the closest pairs, quote_api vs run_api and read_result vs get_request, are explicitly differentiated by charging/not charging and cached-result vs stored-state semantics.
All tool names follow the same snake_case verb_noun convention (quote_api, get_balance, list_apis, read_result, send_feedback). Singular vs plural objects are grammatically appropriate to the action, so the set reads predictably.
Ten tools is well-scoped for an API marketplace client: discovery, schemas, pricing, execution, result/request inspection, balance, and user feedback each get exactly one tool. No tool feels redundant or missing.
The tool surface covers the full workflow an agent needs: find an API, inspect its schema, quote and validate a call, run it, read or resume the request, and report bugs/feedback. There are no obvious dead ends for the stated domain.
Related MCP Connectors
One MCP server for 180+ live web-data APIs returning clean JSON from sites that block scrapers.
Official SerpApi MCP server for Google, Bing, and other search engines.
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
Zenrows MCP server: Fetch, Extract, Batch, and Browser Sessions for AI agents
Related MCP Servers
- AlicenseBqualityCmaintenanceA lightweight stdio-only MCP server that allows AI agents to run multiple tasks (e.g., Python code, HTTP requests, shell commands) in parallel or with dependencies, returning structured results in a single call.249 PyPIMIT
- AlicenseAqualityCmaintenanceEnables MCP clients to run Apify-compatible web scrapers locally via stdio or HTTP, including site crawling, job board retrieval, web search, Google Maps and LinkedIn job lookups, with run management, dataset storage, and a REST API.26MIT
- AlicenseAqualityCmaintenancePools multiple Tavily API keys into a single local MCP server with round-robin rotation and automatic failover, exposing Tavily search, extract, crawl, map, and research tools to AI agents via stdio.61MIT
- FlicenseNot gradedqualityBmaintenanceEnables local-first web scraping and captcha solving via an MCP server written in Rust.-