← Back to directory
O

OpenRouter Agents MCP Server

Community
Coordinate AI agents to research and synthesize findings.
Category
Other #465 of 678
Stars
★ 56 Popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js
Credentials
API key / credential required
License
MIT
Last commit
⚠
Tools
28
47FMRS · D

The README documents research, knowledge base, session, graph, and diagnostic tools, with setup examples for Claude Desktop, Claude Code, Jan AI, Continue, and Zed. The repository's server manifest was not cached, so tool details are based on the README; maintenance by the upstream product or protocol owner is not established.

Strongest · Setup experience 12/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
9/20
Maintenance
8/20
Documentation
10/20
Setup experience
12/20
Why each score
Reliability 8/20
The README lists research, knowledge-base, session, and utility tools, and describes STDIO as the default with HTTP as an option. However, no reviewable server manifest, source, CI, or test evidence is provided, so the initialization handshake, tool parameters, actual behavior, and error handling cannot be verified. This supports only a modest score.
Security and permissions 9/20
The README says users must configure an OpenRouter API key and shows it passed through a client environment variable. There is no evidence here of a real exposed token, credential theft, covert exfiltration, or a dangerous default operation, so no red line is established. Permission scope, data flows, network boundaries, and confirmation for risky operations are not documented with reviewable evidence, which warrants substantial deductions.
Maintenance 8/20
The repository is described as MIT-licensed and not archived; the README gives a 2.0.0 version and describes release-please and npm publishing. But commit history, verified releases, dependency update evidence, issue response, and a security response channel are absent, so maintenance continuity is only partly supported.
Documentation 10/20
The README provides an installation command, environment-variable table, client configuration examples, a tool overview, and an architecture description. It lacks detailed tool parameters and limits, and does not adequately explain costs, data handling, or troubleshooting. Capability and compliance claims cannot be checked against source or a manifest in the supplied material, so the score reflects usable but incomplete evidence.
Setup experience 12/20
The README gives an npx launch command, Claude Code and Claude Desktop examples, and identifies the required OpenRouter API key. Runtime prerequisites, platform compatibility, and steps to verify a successful connection are not fully explained, and no source or execution evidence confirms the installation path, so the score remains below the static setup ceiling.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkConnects to a database

Best for

  • Users who need multi-agent research, synthesis, and citations.
  • Teams that want to use OpenRouter models through an MCP client.

Not for

  • Simple question-answering that does not need multi-agent research or knowledge base features.
  • Users who cannot provide an OpenRouter API key or do not want to use the OpenRouter service.

Required permissions

  • Requires OPENROUTER_API_KEY to access the OpenRouter API.
  • Optionally accepts multiple OpenRouter API keys for rotation.
  • Can persist reports, jobs, and the knowledge graph; the README says persistent storage is enabled by default.

Risks and side effects

  • Research depends on an external model API; API failures may affect requests. The README describes a configurable circuit breaker.
  • Persistent storage saves reports, jobs, and the knowledge graph across sessions.
  • The README notes a harmless libc++abi message may appear on shutdown with macOS/Node 25 and says data is checkpointed before shutdown.

Setup

Before you start

Runtime:Node.js

OPENROUTER_API_KEY requiredsecret Required OpenRouter API key; obtain it from OpenRouter.
OPENROUTER_API_KEYS optionalsecret Optional comma-separated OpenRouter keys for rotation; obtain the keys from OpenRouter.
Other optional settings (8)
OPENROUTER_KEY_COOLDOWN_MS optional Base cooldown in milliseconds after a key fails; set as needed.
SERVER_PORT optional HTTP server port; set for your deployment.
MODE optional Server mode: `AGENT`, `MANUAL`, or `ALL`.
EMBEDDING_ROUTING_ENABLED optional Enables embedding-based model routing; enabled by default.
INDEXER_ENABLED optional Enables knowledge indexing; enabled by default.
RAIL_CIRCUIT_BREAKER optional Enables the model API circuit breaker; enabled by default.
RAIL_CIRCUIT_THRESHOLD optional Failures before the circuit breaker trips; defaults to 5.
RAIL_CIRCUIT_RESET_MS optional Circuit breaker recovery timeout in milliseconds; defaults to 120000.

Add the provided JSON to your MCP client configuration and set OPENROUTER_API_KEY. The README's example runs npx @terminals-tech/openrouter-agents --stdio; STDIO is the default. To use HTTP, explicitly choose --http.

.mcp.json
{"mcpServers":{"openrouter-agents":{"command":"npx","args":["@terminals-tech/openrouter-agents","--stdio"],"env":{"OPENROUTER_API_KEY":"${OPENROUTER_API_KEY}","INDEXER_ENABLED":"true"}}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "openrouter-agents": {
      "command": "npx",
      "args": [
        "@terminals-tech/openrouter-agents",
        "--stdio"
      ],
      "env": {
        "OPENROUTER_API_KEY": "${OPENROUTER_API_KEY}",
        "INDEXER_ENABLED": "true"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.openrouter-agents]
command = "npx"
args = ["@terminals-tech/openrouter-agents", "--stdio"]

[mcp_servers.openrouter-agents.env]
OPENROUTER_API_KEY = "${OPENROUTER_API_KEY}"
INDEXER_ENABLED = "true"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add openrouter-agents -e 'OPENROUTER_API_KEY=${OPENROUTER_API_KEY}' -e INDEXER_ENABLED=true -- npx @terminals-tech/openrouter-agents --stdio

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm `research` and `ping` appear in the client’s tool list, then call `ping` to check the connection.

Troubleshooting

  1. Confirm that OPENROUTER_API_KEY is set and valid.
  2. Check the client configuration's command, arguments, and environment variables; STDIO is the default transport.
  3. For HTTP, confirm that --http is explicitly set and check the SERVER_PORT configuration.
  4. Check asynchronous research jobs with job_status; use ping or get_server_status to inspect server status.

Things to try

Once connected, you can ask your AI assistant things like:

  • Research solar and wind cost trends and synthesize findings across sources.
  • Compare major approaches to battery recycling in parallel.
  • Search the knowledge base for information about model routing.

Tools 28

research writes
Run asynchronous research and return a job ID.
conduct_research writes
Run synchronous research with streamed results.
batch_research writes
Run multiple research queries in parallel.
research_follow_up writes
Run a context-aware follow-up.
agent writes
Unified entry point that automatically routes requests.
search read-only
Run hybrid BM25 and vector search.
retrieve writes
Index content or run a SQL query.
query read-only
Run a parameterized SQL SELECT query.
Show 20 more tools
get_report read-only
Get a research report by ID.
history read-only
List recent reports.
undo writes
Revert session state.
redo writes
Redo a reverted session action.
checkpoint writes
Create a named save point.
fork_session writes
Create an alternate session timeline.
graph_traverse read-only
Traverse the knowledge graph.
graph_clusters read-only
Find graph node clusters.
graph_pagerank read-only
Rank graph node importance.
list_rails read-only
List rails, tunnels, routes, and consensus.
explain_rail read-only
Show rail or tunnel configuration details.
list_routes read-only
List defined routes.
list_tunnels read-only
List active agent-to-agent tunnels.
list_consensus read-only
List streaming consensus sessions.
ping read-only
Check server health.
get_server_status read-only
View server diagnostics.
job_status read-only
Check asynchronous job status.
date_time read-only
Get the current timestamp.
calc read-only
Evaluate a math expression.
list_tools read-only
List available tools.

Use cases

Research a question in parallel and synthesize findings from multiple agents.
Run batch research queries or follow up on prior research.
Search and query indexed research, and inspect reports or the knowledge graph.

Supported clients

Claude Code
Claude Desktop
Jan AI
Continue
Zed

Listed from the project's documentation, not tested by this site.

Overview

OpenRouter Agents MCP Server is an MCP server for multi-agent AI research. It plans and runs research tasks in parallel, synthesizes results with citations, and offers hybrid search, SQL queries, reports, and knowledge graph features. The README says the server uses STDIO by default and also supports Streamable HTTP.

Similar servers

Source revision 1506d9f5a777 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/openrouter-deep-research-mcp.svg)](https://followmcp.com/en/servers/openrouter-deep-research-mcp)