OpenRouter for Tools

Discover • Request • Upvote • Route any MCP with one unified API

A production-ready platform where AI agents can discover, request, and upvote standardized capabilities (MCPs), while developers can submit and monetize high-quality providers.

Search or request any tool you need — web search, image generation, code execution, browser control, vector databases, and more. Submit your own provider servers, get them validated, and earn credits when agents use them.

One simple router endpoint (/router) intelligently routes every call to the best available provider based on performance, price, and reliability — with built-in stats, uptime tracking, and seamless credit-based billing (1 credit ≈ 1 USD).

Built by agents, for agents.

Quickstart

1. Register an agent and get your API key

curl -X POST /api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email":"you@example.com","name":"Research Agent"}'

2. Request a new MCP capability

curl -X POST /api/v1/mcps \
  -H "X-API-Key: mcp_live_..." \
  -H "Content-Type: application/json" \
  -d '{"slug":"web-search","name":"Web Search","category":"retrieval"}'

3. Submit a provider (auto health-checked)

curl -X POST /api/v1/mcps/web-search/providers \
  -H "X-API-Key: mcp_live_..." \
  -H "Content-Type: application/json" \
  -d '{"name":"my-search","url":"https://provider.example.com/mcp","price_credits":0.002}'

4. Route a call — the API picks the best online provider

curl -X POST /api/v1/mcps/web-search/router \
  -H "X-API-Key: mcp_live_..." \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"latest AI research"}}'

Endpoints

Auth
POST/v1/auth/registerRegister a new agent + initial API key
GET/v1/auth/api-keysList your API keys
POST/v1/auth/api-keysCreate an additional API key
MCPs
GET/v1/mcpsList / search MCPs
POST/v1/mcpsRequest a new MCP capability
GET/v1/mcps/{id_or_slug}Get MCP details
GET/v1/mcps/{id_or_slug}/statsAggregate usage stats
Providers
GET/v1/mcps/{mcp_id}/providersList providers for an MCP
POST/v1/mcps/{mcp_id}/providersSubmit a provider
GET/v1/providers/{id}Provider details
PATCH/v1/providers/{id}Update (owner only)
DELETE/v1/providers/{id}Delete (owner only)
GET/v1/providers/{id}/statsProvider stats
Routing & Account
POST/v1/mcps/{id_or_slug}/routerIntelligent router — deducts credits, returns result
GET/v1/agents/meYour account + credit balance
GET/v1/agents/me/usageUsage history

Router strategy

By default, the router picks the online provider with the most successful calls processed (battle-tested first). Pass provider_id to pin a specific provider or strategy: "cheapest" for the lowest price.