Skip to content
Cursor

Kosha Model Discovery for Cursor

io.github.sriinnu/kosha-discovery

Tells your agent which model to use and what it costs, across 45 providers and local runtimes.

client:Cursor transport:stdio runtime:npm

Install Kosha Model Discovery in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "kosha-discovery": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/kosha-discovery"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>",
        "OPENROUTER_API_KEY": "<OPENROUTER_API_KEY>",
        "XAI_API_KEY": "<XAI_API_KEY>",
        "TYPESAFE_API_KEY": "<TYPESAFE_API_KEY>",
        "KOSHA_CACHE_TTL_HOURS": "<KOSHA_CACHE_TTL_HOURS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Kosha Model Discovery in other clients