Skip to main content
Glama
mcp-openrouter
by tsilva
README.md
<p align="center">
  <img src="https://raw.githubusercontent.com/tsilva/mcp-openrouter/main/logo.png" alt="mcp-openrouter" width="360" />
  <br />
  <!-- repo-tagline:start -->
  <strong>🚀 One MCP server for OpenRouter models 🚀</strong>
  <!-- repo-tagline:end -->
</p>

<!-- mcp-name: io.github.tsilva/mcp-openrouter -->

mcp-openrouter adds OpenRouter chat, images, embeddings, and model discovery
to MCP clients over local stdio.

## Install

Choose the clients to configure:

```bash
uvx mcp-openrouter install --yes --clients codex,claude,opencode
```

The server supports a configured OpenRouter provider through AgentBridge.
See the guide for the gateway environment, tools, and client-specific setup.

[MCP server setup and configuration](https://github.com/tsilva/mcp-openrouter/blob/main/docs/mcp-openrouter-guide.md).

## License

[MIT License](https://github.com/tsilva/mcp-openrouter/blob/main/LICENSE).

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct operation: chat for text generation, embed for embeddings, generate_image for images, find_models and list_models for model discovery with different query types. No overlap.

Naming Consistency5/5

All tool names use lowercase with underscores, following a consistent verb or verb_noun pattern (chat, embed, generate_image, find_models, list_models).

Tool Count5/5

5 tools cover the core functionalities of the OpenRouter API—chat, embedding, image generation, model search, and listing—without being excessive or insufficient.

Completeness4/5

The set covers the primary OpenRouter capabilities (chat, embed, image gen, model discovery). A minor gap is the lack of an explicit streaming tool, but chat can be parameterized for streaming.

Maintenance

ActivityNo data
ResponsivenessOutdated data