PineRouterDocs
GuidesModelsAPI referenceApps

MCP

Use the models from Claude, ChatGPT, Cursor, Codex and other AI tools.

Our MCP server lets AI tools call the models on your account. It is at:

https://pinerouter.ai/mcp

Claude.ai and ChatGPT (connectors)

Add a custom connector with the URL above. You sign in with your account; no key to copy.

Claude Code

claude mcp add --transport http ai https://pinerouter.ai/mcp --header "Authorization: Bearer YOUR_API_KEY"

Cursor, Claude Desktop and others

{"mcpServers": {"ai": {"url": "https://pinerouter.ai/mcp", "headers": {"Authorization": "Bearer YOUR_API_KEY"}}}}

Codex

# ~/.codex/config.toml
[mcp_servers.ai]
url = "https://pinerouter.ai/mcp"
http_headers = { Authorization = "Bearer YOUR_API_KEY" }

Tools

ToolDoes
list_modelsModels with your prices
get_balanceYour balance
chatText models
generate_imageImages
generate_videoStarts a video
run_modelAny model with its own settings (see Jobs)
get_jobStatus and result of a video or job

Calls are billed like API calls.