IndieAPIs

Access IndieAPIs’ REST API catalog from your MCP client using one API key.

Hosted MCP Server

npx add-mcp 'https://indieapis.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

One API key, an MCP server, a CLI, and hard monthly spend caps.

1. MCP server (/mcp)

Connect Claude Desktop, Claude Code, Cursor, Windsurf, or OpenClaw to IndieAPIs via Streamable HTTP MCP. Every API your key is subscribed to is dynamically exposed as first-class tools (<api_slug>__<endpoint>), alongside built-in discovery & subscription tools (list_apis, search_apis, get_api_docs, subscribe_free, my_subscriptions, call_api) and publisher pricing tools (publish_api, my_published_apis, manage_api_plans).

{
  "mcpServers": {
    "indieapis": {
      "url": "https://indieapis.com/mcp",
      "headers": {
        "X-IndieAPIs-Key": "ia_live_your_key_here"
      }
    }
  }
}

Want only one API's tools? Point your MCP client at the scoped endpoint: https://indieapis.com/mcp/<api-slug> (for example https://indieapis.com/mcp/solocatalog). Sending GET https://indieapis.com/mcp returns live JSON server metadata.

2. CLI (npx indieapis)

Discover APIs, activate $0 hard-capped Free tiers, call endpoints, and inspect quotas straight from your terminal or coding agent:

export INDIEAPIS_API_KEY="ia_live_your_key_here"

# Browse & inspect live APIs (no key required)
npx indieapis apis
npx indieapis docs solocatalog

# Activate any $0 hard-capped Free tier
npx indieapis subscribe solocatalog
npx indieapis subscribe central-bank-fx-rates

# Call APIs through the hard-capped gateway
npx indieapis call central-bank-fx-rates /convert --param from=USD --param to=EUR --param amount=100
npx indieapis call solocatalog /parts --param vin=JTNB11HK8J3012345 --param "q=oil filter"
npx indieapis call indexmywebsite /inspect-sitemap --param url=https://indieapis.com/sitemap.xml

# Inspect live remaining quotas & print MCP JSON
npx indieapis whoami
npx indieapis mcp-config

3. Keys and the REST gateway

Create a single unified API key in your Dashboard and send it via either header:

X-IndieAPIs-Key: ia_live_your_key_here
# or
Authorization: Bearer ia_live_your_key_here

Gateway Base URL:

GET https://api.indieapis.com/v1/<api-slug>/<endpoint>?param=value
curl -s "https://api.indieapis.com/v1/global-football-data/fixtures?league=39&date=2026-12-03" \
  -H "X-IndieAPIs-Key: ia_live_your_key_here"

4. Spend caps and quota headers

Every REST and MCP call goes through the same atomic row-locked quota counter and returns live budget metadata:

X-Quota-Limit: 25000
X-Quota-Used: 1420
X-Quota-Remaining: 23580
X-Quota-Reset: 2027-01-01T00:00:00.000Z
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
X-IndieAPIs-Cache: HIT

When X-Quota-Remaining reaches 0, both REST and MCP immediately return HTTP 429 / quota_exceeded. You will never be charged surprise overages.

5. Publishing APIs and plans

IndieAPIs is AI-friendly for publishers too. Use your unified X-IndieAPIs-Key via REST API, MCP, or CLI to publish APIs with 1–10 custom hard-capped pricing tiers (Free, Starter, Pro, Scale, Enterprise) and update plans anytime:

# Publish a new API with 4 custom pricing tiers
curl -s -X POST "https://indieapis.com/api/v1/publisher/apis" \
  -H "X-IndieAPIs-Key: ia_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Weather Insights API",
    "category": "data",
    "tagline": "Fast JSON forecasts with hourly precipitation and air quality.",
    "description": "Production weather API with global hourly forecasts and alerts.",
    "base_url": "https://api.yourdomain.com/v1",
    "endpoints": [{"method": "GET", "path": "/forecast", "name": "Get Forecast"}],
    "plans": [
      {"name": "Free", "price_usd": 0, "monthly_quota": 500, "rate_limit_per_min": 10},
      {"name": "Starter", "price_usd": 9, "monthly_quota": 15000, "rate_limit_per_min": 60},
      {"name": "Pro", "price_usd": 29, "monthly_quota": 100000, "rate_limit_per_min": 180},
      {"name": "Scale", "price_usd": 99, "monthly_quota": 500000, "rate_limit_per_min": 600}
    ]
  }'

# Add, update, replace, or archive pricing tiers anytime
GET    https://indieapis.com/api/v1/publisher/apis
GET    https://indieapis.com/api/v1/publisher/apis/<slug>/plans
POST   https://indieapis.com/api/v1/publisher/apis/<slug>/plans
PUT    https://indieapis.com/api/v1/publisher/apis/<slug>/plans
PATCH  https://indieapis.com/api/v1/publisher/apis/<slug>/plans/<planSlug>
DELETE https://indieapis.com/api/v1/publisher/apis/<slug>/plans/<planSlug>

Over MCP (https://indieapis.com/mcp), AI agents can call publish_api, my_published_apis, and manage_api_plans (list | add | update | replace | deactivate) directly, or use npx indieapis publish --file api.json and npx indieapis plans <slug> --set-file plans.json.

6. Agent skill and discovery

Point autonomous coding agents at our live skill and catalog files: