AnyAPI

Registre officiel Recherche et web

Hundreds of scraping & data APIs through one key. USD pay-per-request, normalized schemas, failover.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http anyapi 'https://api.getanyapi.com/mcp' --header 'Authorization: <AnyAPI API key as a Bearer token (format: Bearer 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.>'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "anyapi": {
            "type": "http",
            "url": "https://api.getanyapi.com/mcp",
            "headers": {
                "Authorization": "<AnyAPI API key as a Bearer token (format: Bearer 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.>"
            }
        }
    }
}
NPM package anyapi-mcp
Claude Code
claude mcp add anyapi -e 'ANYAPI_API_KEY=<your anyapi_api_key>' -- npx -y anyapi-mcp@0.1.5
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "anyapi": {
            "command": "npx",
            "args": [
                "-y",
                "anyapi-mcp@0.1.5"
            ],
            "env": {
                "ANYAPI_API_KEY": "<your anyapi_api_key>"
            }
        }
    }
}

Variables d'environnement

  • ANYAPI_API_KEY secret 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.
OCI package ghcr.io/getanyapi-com/mcp:0.1.5
Claude Code
claude mcp add anyapi -e 'ANYAPI_API_KEY=<your anyapi_api_key>' -- docker run -i --rm ghcr.io/getanyapi-com/mcp:0.1.5
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "anyapi": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/getanyapi-com/mcp:0.1.5"
            ],
            "env": {
                "ANYAPI_API_KEY": "<your anyapi_api_key>"
            }
        }
    }
}

Variables d'environnement

  • ANYAPI_API_KEY secret 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.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. AnyAPI MCP server
  2. Install
  3. Configuration
  4. Tools
  5. Develop
  6. License

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.

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

VariableRequiredDefaultMeaning
ANYAPI_API_KEYNononeYour AnyAPI key. Running an API needs it. Connecting, listing the tools, and the four catalog tools do not.
ANYAPI_MCP_URLNohttps://api.getanyapi.com/mcpThe 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.

ToolWhat it does
search_apisSearch APIs by meaning and keyword. Takes any combination of query, category and platform; a scope on its own is a complete search.
list_apisBrowse the catalog as lightweight summaries (id, name, category, USD pricing), with an optional category.
get_apiThe full definition of one API: normalized input/output JSON Schemas, per-lane USD pricing, and trailing-30-day latency.
quote_apiThe exact USD price of a run_api call before running it. Nothing is charged or executed.
run_apiExecute an API by SKU with normalized input. Returns the output, costUsd, and items. Supports fields, max_items, summary and jq.
get_requestInspect or resume a durable request. Reads stored state and never repeats the paid dispatch.
read_resultRe-shape a prior run's output without re-running or paying again.
get_balanceThe remaining USD wallet balance for the key.
report_bugReport wrong, empty, or malformed data for input you believe is valid. Free.
send_feedbackReport 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

Questions fréquentes

Qu'est-ce que AnyAPI ?

Hundreds of scraping & data APIs through one key. USD pay-per-request, normalized schemas, failover.

Comment installer AnyAPI ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http anyapi 'https://api.getanyapi.com/mcp' --header 'Authorization: <AnyAPI API key as a Bearer token (format: Bearer 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.>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour AnyAPI ?

Oui. Il attend ANYAPI_API_KEY, Authorization, à renseigner dans sa configuration.

AnyAPI est-il open source ?

Oui. Son code est sur GitHub sous licence Apache-2.0.

Qui maintient AnyAPI ?

Il est publié par getanyapi-com. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.