Openrouter Free MCP
MCP server by math4mad Verified · npm:openrouter-free-mcp
Calls free large language models through OpenRouter's openrouter/free route from an MCP client. It retries rate-limited requests and labels each reply with the model that answered. Aimed at users who want low-cost batch text work, second opinions or light generation.
Install Openrouter Free MCP
Built from the published package, never by AI.
claude mcp add openrouter-free-mcp -- npx -y openrouter-free-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"openrouter-free-mcp": {
"args": [
"-y",
"openrouter-free-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"openrouter-free-mcp": {
"args": [
"-y",
"openrouter-free-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"openrouter-free-mcp": {
"args": [
"-y",
"openrouter-free-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add openrouter-free-mcp -- npx -y openrouter-free-mcp{
"mcpServers": {
"openrouter-free-mcp": {
"args": [
"-y",
"openrouter-free-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Openrouter Free MCP in Antigravity CLI
gemini mcp add openrouter-free-mcp npx -y openrouter-free-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the openrouter-free-mcp block.
About
openrouter-free-mcp is a zero-dependency MCP server for Node.js. It sends requests to OpenRouter's openrouter/free route, which picks a currently available free model such as Gemma, DeepSeek, Llama or Qwen. The server gives the assistant one tool, ask_free_model, which takes a prompt, an optional system prompt and an optional max_tokens value.
When a model returns a 429 rate limit error, the server retries up to three times with increasing intervals. It also handles the reasoning field returned by reasoning models and prefixes each reply with the name of the model that answered. The README suggests it for batch text work, second opinions on code or plans, and light generation tasks. It is not meant for high-frequency calls or long-context work.
Written from the project's README and checked against it.
Tools it gives your assistant
ask_free_modelSends a prompt to a free OpenRouter model, with an optional system prompt and max_tokens.
What you need
- Node.js 16 or later
- An OpenRouter API key
- An MCP client such as Trae, Claude Desktop or Cursor
Try asking
- Use ask_free_model to translate this paragraph into English.
- Ask the free model for a second opinion on this code plan.
- Use ask_free_model to suggest five tags for this article.
Good to know
- The free model pool has rate limits.
- Not suited to high-frequency calls or long-context tasks.
- Reasoning models use extra tokens, so the README suggests max_tokens of at least 2000.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Openrouter Free MCP
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Openrouter Free MCP: common questions
Which models does it use?
It uses openrouter/free, which selects currently available free models. The README names Gemma, DeepSeek, Llama and Qwen as examples.
Where does the API key go?
The key is passed through the OPENROUTER_KEY environment variable. The README says the tool does not read or store a key file.
What happens when a model is rate limited?
A 429 response triggers up to three retries with increasing intervals. The README still notes that the free pool has rate limits.
How do I install Openrouter Free MCP?
In Claude Code run claude mcp add openrouter-free-mcp -- npx -y openrouter-free-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Openrouter Free MCP the official server?
Openrouter Free MCP is published by npm:openrouter-free-mcp from its verified domain in the official MCP Registry.
Is Openrouter Free MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Openrouter Free MCP safe to use?
It scores 71 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Openrouter Free MCP?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Openrouter Free MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
