Feedback

OpenRouter Agents MCP Server

@wheattoast11 Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
wheattoast11
Submitted by
Community
Quality
50
Stars
53

About OpenRouter Agents MCP Server

A multi-agent research MCP server + mini client adapter - orchestrates a net of async agents or streaming swarm to conduct ensemble consensus-backed research. Each task builds its own indexed pglite database on the fly in web assembly. Includes semantic + hybrid search, SQL execu

OpenRouter Agents MCP Server is a MCP server in the Data & Analytics category listed in the AddMCP.net directory, published by wheattoast11. It exposes 42 tools, including zero_chat, research, agent, ping and more. Supported transport: stdio. Runtime: node. License: MIT. The repository has 53 GitHub stars. Source code is hosted on github.com. Related topics: artificial-intelligence, claude-3-7-sonnet, gemini-2-5-pro-exp, llm, mcp.

Setup

{
    "mcpServers": {
        "openrouter-deep-research-mcp": {
            "command": "npx",
            "args": [
                "@terminals-tech/openrouter-agents",
                "--stdio"
            ]
        }
    }
}

OpenRouter Agents MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "openrouter-deep-research-mcp": {
            "command": "npx",
            "args": [
                "@terminals-tech/openrouter-agents",
                "--stdio"
            ]
        }
    }
}

OpenRouter Agents MCP Server tools

  • zero_chat — Synchronous conversational dialogue with Zero. Maintains short-term memory within the provided messages array.
    messages:array*, sessionId:string, model:string, _requestId:string
  • research — Unified research tool. async=true (default) enqueues and returns {job_id}. async=false streams results synchronously like conduct_research. Example: {query: 'What is quantum computing?', costPreference: 'low', async: true}
    (no parameters)
  • agent — Single entrypoint agent tool. Routes to research, follow_up, retrieve/query, or chain. Examples: {query:'AI safety'} for research, {action:'retrieve', query:'topic', k:5} for search, {chain:[{tool:'search',params:{q:'topic'}},{tool:'get_report',params:{reportId:'1'}}]} for chaining. Max depth: NaN.
    action:string, async:boolean, notify:string, query:string, q:string, costPreference:string, cost:string, audienceLevel:string, outputFormat:string, includeSources:boolean, images:array, textDocuments:array, …
  • ping — Lightweight health check. Returns pong with server time; info=true adds DB/embedder/job counts.
    info:boolean
  • job_status — Get job status with a compact summary by default. Use format: 'full' to include full status + events or 'events' to return only events.
    job_id:string*, since_event_id:integer, format:string, max_events:integer
  • cancel_job — Cancel a queued or running job (best-effort).
    job_id:string*
  • retrieve — Retrieve from KB or DB. Examples: {mode:'index', query:'AI safety', k:5} or {mode:'sql', sql:'SELECT id,query FROM research_reports', explain:true}
    mode:string, query:string, k:integer, scope:string, rerank:boolean, sql:string, params:array, explain:boolean
  • get_report
    reportId:string*, mode:string, maxChars:integer, query:string, _requestId:string
  • history
    limit:integer, queryFilter:string, _requestId:string
  • date_time — Get current date/time. format: 'iso'|'rfc'|'epoch'.
    format:string
  • calc — Evaluate a simple arithmetic expression (+,-,*,/,^,(), decimals). Safe parser.
    expr:string*, precision:integer
  • list_tools — List available MCP tools with metadata. Optionally filter by query and use semantic ranking.
    query:string, limit:integer, semantic:boolean, _requestId:string
  • search_tools — Semantic search over available tools. Returns ranked matches.
    query:string*, limit:integer, _requestId:string
  • get_server_status
    _requestId:string
  • get_consensus_history
    limit:integer
  • search
    q:string, query:string, k:integer, scope:string, rerank:boolean
  • query — Execute a read-only SELECT with bound params. Example: {sql: 'SELECT * FROM research_reports WHERE id = $1', params: ['5'], explain: true}
    sql:string*, params:array, explain:boolean
  • research_follow_up
    originalQuery:string*, followUpQuestion:string*, costPreference:string, _requestId:string
  • batch_research — Batch dispatch multiple research queries in a single call. Returns job IDs or waits for completion. Example: {queries: ['topic 1', 'topic 2', {query:'topic 3', costPreference:'high'}], waitForCompletion: true}
    (no parameters)
  • undo
    sessionId:string
  • redo
    sessionId:string
  • fork_session
    sessionId:string, newSessionId:string
  • time_travel
    sessionId:string, timestamp:string*
  • session_state
    sessionId:string
  • checkpoint
    sessionId:string, name:string*
  • graph_traverse
    startNode:string*, depth:number, strategy:string
  • graph_path
    from:string*, to:string*
  • graph_clusters
    (no parameters)
  • graph_pagerank
    topK:number
  • graph_patterns
    n:number
  • graph_stats
    (no parameters)
  • zero_status
    verbose:boolean
  • zero_connect
    uri:string*
  • zero_handshake
    challenge:string
  • task_get
    job_id:string, taskId:string
  • task_result
    job_id:string, taskId:string
  • task_cancel
    job_id:string, taskId:string
  • task_list
    cursor:string, limit:number
  • sample_message
    messages:array*, model:string, maxTokens:number
  • elicitation_respond
    requestId:string*, response:object*
  • search_web
    query:string*, maxResults:integer, _requestId:string
  • fetch_url
    url:string*, maxBytes:integer, _requestId:string

Overview

What is OpenRouter Agents MCP Server?

OpenRouter Agents MCP Server is a production-grade MCP server for multi-agent AI research and synthesis. It orchestrates parallel research agents using OpenRouter’s model API, providing planning, parallelization, and synthesis capabilities.

How to use OpenRouter Agents MCP Server?

Install via npx @terminals-tech/openrouter-agents --stdio (default STDIO transport) and set the OPENROUTER_API_KEY environment variable. Configuration can be provided via .env or .mcp.json file. For HTTP transport, add the --http flag.

Key features of OpenRouter Agents MCP Server

  • Plans, parallelizes, and synthesizes multi-agent AI research.
  • Embeds query vectors to route models without an LLM call.
  • Persistent knowledge base with PGlite and pgvector.
  • Circuit breaker for model API fault tolerance.
  • Rail Protocol for bidirectional agent communication.
  • Session time-travel with undo, redo, and fork.

Use cases of OpenRouter Agents MCP Server

  • Decompose complex research queries into parallel sub-tasks.
  • Synthesize results from multiple agents with citations.
  • Persist and search research reports and knowledge graphs.
  • Backend for AI assistants requiring multi-step reasoning.
  • Integrate with MCP-compatible clients like Claude, Jan AI, and Continue.

Frequently asked questions

1 What is the default transport?

STDIO is the default transport per MCP spec. Use the --http flag explicitly for HTTP mode.

2 Does it require an API key?

Yes, OPENROUTER_API_KEY is required. Key rotation and cooldown are supported via optional configuration variables.

3 Does data persist across sessions?

Yes, reports, jobs, and the knowledge graph persist by default. Set DB_AUTO_HEAL=true for in-memory mode (no persistence).

4 What models are supported?

Two tiers: high‑cost (e.g., Claude Sonnet 4.5, GPT‑5.2) and low‑cost (e.g., Gemini Flash, DeepSeek). Models are selected via embedding‑based routing.

5 Is it compliant with the MCP specification?

Yes, it complies with MCP Specification 2025‑11‑25 (Stable) and supports core features like Tools, Resources, Prompts, and SEP extensions.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬