KO

Kosha Model Discovery MCP Server

Published by sriinnu

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

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.18.1
SOURCE CHECKED
Nov 29, 2026

Quick answers

How do I add Kosha Model Discovery MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'ANTHROPIC_API_KEY=<your-anthropic-api-key>' --env 'OPENAI_API_KEY=<your-openai-api-key>' --env 'GOOGLE_API_KEY=<your-google-api-key>' --env 'OPENROUTER_API_KEY=<your-openrouter-api-key>' --env 'XAI_API_KEY=<your-xai-api-key>' --env 'TYPESAFE_API_KEY=<your-typesafe-api-key>' --transport stdio kosha-model-discovery -- npx -y @sriinnu/kosha-discovery

Replace the <your-…> placeholder with your own ANTHROPIC_API_KEY and OPENAI_API_KEY and GOOGLE_API_KEY and OPENROUTER_API_KEY and XAI_API_KEY and TYPESAFE_API_KEY.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "kosha-model-discovery": {
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/kosha-discovery"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<your-anthropic-api-key>",
        "OPENAI_API_KEY": "<your-openai-api-key>",
        "GOOGLE_API_KEY": "<your-google-api-key>",
        "OPENROUTER_API_KEY": "<your-openrouter-api-key>",
        "XAI_API_KEY": "<your-xai-api-key>",
        "TYPESAFE_API_KEY": "<your-typesafe-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own ANTHROPIC_API_KEY and OPENAI_API_KEY and GOOGLE_API_KEY and OPENROUTER_API_KEY and XAI_API_KEY and TYPESAFE_API_KEY.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add kosha-model-discovery --env 'ANTHROPIC_API_KEY=<your-anthropic-api-key>' --env 'OPENAI_API_KEY=<your-openai-api-key>' --env 'GOOGLE_API_KEY=<your-google-api-key>' --env 'OPENROUTER_API_KEY=<your-openrouter-api-key>' --env 'XAI_API_KEY=<your-xai-api-key>' --env 'TYPESAFE_API_KEY=<your-typesafe-api-key>' -- npx -y @sriinnu/kosha-discovery

Replace the <your-…> placeholder with your own ANTHROPIC_API_KEY and OPENAI_API_KEY and GOOGLE_API_KEY and OPENROUTER_API_KEY and XAI_API_KEY and TYPESAFE_API_KEY.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "kosha-model-discovery": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/kosha-discovery"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<your-anthropic-api-key>",
        "OPENAI_API_KEY": "<your-openai-api-key>",
        "GOOGLE_API_KEY": "<your-google-api-key>",
        "OPENROUTER_API_KEY": "<your-openrouter-api-key>",
        "XAI_API_KEY": "<your-xai-api-key>",
        "TYPESAFE_API_KEY": "<your-typesafe-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own ANTHROPIC_API_KEY and OPENAI_API_KEY and GOOGLE_API_KEY and OPENROUTER_API_KEY and XAI_API_KEY and TYPESAFE_API_KEY.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "kosha-model-discovery": {
      "command": "npx",
      "args": [
        "-y",
        "@sriinnu/kosha-discovery"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<your-anthropic-api-key>",
        "OPENAI_API_KEY": "<your-openai-api-key>",
        "GOOGLE_API_KEY": "<your-google-api-key>",
        "OPENROUTER_API_KEY": "<your-openrouter-api-key>",
        "XAI_API_KEY": "<your-xai-api-key>",
        "TYPESAFE_API_KEY": "<your-typesafe-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own ANTHROPIC_API_KEY and OPENAI_API_KEY and GOOGLE_API_KEY and OPENROUTER_API_KEY and XAI_API_KEY and TYPESAFE_API_KEY.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use Kosha Model Discovery MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does Kosha Model Discovery MCP Server need an API key?

To run it on your computer, set ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, OPENROUTER_API_KEY, XAI_API_KEY and TYPESAFE_API_KEY first, with values from the publisher.

Is Kosha Model Discovery MCP Server official?

It's published by sriinnu. The Official MCP Registry accepts names under io.github.sriinnu only from the GitHub account or organisation sriinnu. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @sriinnu/kosha-discovery@1.18.1
View source repository