Skip to content
MCP server

Openrouter MCP

Query OpenRouter (free key; set OPENROUTER_API_KEY, Bearer): model list, key info…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.1.0
Listing updated
6 days ago

About Openrouter MCP

Openrouter MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Query OpenRouter (free key; set OPENROUTER_API_KEY, Bearer): model list, key info, credits.

Install

Run in a terminal

claude mcp add openrouter-mcp -- npx -y @mrfentmen/openrouter-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "openrouter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/openrouter-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "openrouter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/openrouter-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "openrouter-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/openrouter-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "openrouter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/openrouter-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "openrouter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/openrouter-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

Openrouter MCP FAQ

Is Openrouter MCP free?

Yes. Openrouter MCP is open source, so you can use and self-host it for free.

How do I add Openrouter MCP to Claude Code?

Run this command in your terminal: claude mcp add openrouter-mcp -- npx -y @mrfentmen/openrouter-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers