Connect Claude Desktop, VS Code, Cursor, Perplexity โ or any MCP-compatible client โ to the LLM Pricing server in under 2 minutes.
POST https://llm-pricing-api.fly.dev/mcp
https://llm-pricing-api.fly.dev/mcp.Use the url field โ no command or local path needed.
After saving the config, restart Claude Desktop / VS Code / Cursor. The 29 tools will appear automatically.
Try: "What is the cheapest model for RAG under $2/1M tokens?"
claude_desktop_config.jsonTools appear in Claude's tool list. You'll see a hammer icon when the MCP server is active.
servers config; Cline / Continue use a mcpServers config in their own settings UI.Command Palette (Ctrl+Shift+P) โ MCP: Open User Configuration for all workspaces, or create .vscode/mcp.json in this workspace for a project-only server.
Copilot's native MCP config uses a servers key with an explicit type, not the mcpServers shape other clients use:
Open the Copilot Chat panel, switch to Agent mode, then click the tools icon and enable llm-pricing. All 29 tools become available to the agent.
In Cline: Settings (โ) โ MCP Servers โ Edit JSON. In Continue: open your MCP server config (mcpServers section of Continue's settings).
Open the command palette (Ctrl+Shift+P) โ Cline: Reload MCP Servers (or restart VS Code for Continue). Tools will appear in the agent panel.
Go to Settings โ Features โ MCP to confirm the server shows as connected.
After saving, restart the desktop app. All 29 pricing tools will be available in your conversations.
Ask: "What LLM pricing tools do you have available?" โ Perplexity should list all 29 tools.
All 29 tools are accessible via MCP. Purple = required arg ยท Grey = optional.
Click any prompt to copy it.
| Problem | Fix |
|---|---|
| Tools not showing after restart | Check the config file path and JSON syntax. Use a JSON validator if unsure. Ensure no trailing commas. |
| STDIO server hangs with no output | Expected โ the STDIO server waits for JSON-RPC input on stdin. It is not a web server; use it only with a MCP client. |
ModuleNotFoundError (local STDIO) | Activate the virtualenv (source .venv/bin/activate) and run from the repo root directory. |
Model not found error | Call get_all_pricing first to get valid model names โ they are case-sensitive. |
| Connection refused / timeout | Run curl https://llm-pricing-api.fly.dev/health to verify the server is up. If using local STDIO, ensure the server process is running. |
401 Unauthorized on MCP endpoint | The /mcp endpoint is public โ no API key needed. If you see 401, check for a misconfigured auth header in your client. |