Openrouter Admin MCP Server
by ovironio.github.oviron/openrouter-adminv0.7.3
MCP server for the OpenRouter management API — credits, inference-key CRUD with daily/weekly/monthly reset & expiration, activity drill-down (by_model/day/provider/key), one-shot dashboard.
context tax
queued
security
queued
cold start
queued
freshness
Slowing6mo ago
Install Openrouter Admin MCP server
Install in Claude Code
claude mcp add openrouter-admin -e OPENROUTER_PROVISIONING_KEY='<openrouter-provisioning-key>' -- npx -y openrouter-admin-mcpInstall in Cursor
{
"mcpServers": {
"openrouter-admin": {
"command": "npx",
"args": [
"-y",
"openrouter-admin-mcp"
],
"env": {
"OPENROUTER_PROVISIONING_KEY": "<openrouter-provisioning-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"openrouter-admin": {
"command": "npx",
"args": [
"-y",
"openrouter-admin-mcp"
],
"env": {
"OPENROUTER_PROVISIONING_KEY": "<openrouter-provisioning-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"openrouter-admin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"openrouter-admin-mcp"
],
"env": {
"OPENROUTER_PROVISIONING_KEY": "<openrouter-provisioning-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"openrouter-admin": {
"command": "npx",
"args": [
"-y",
"openrouter-admin-mcp"
],
"env": {
"OPENROUTER_PROVISIONING_KEY": "<openrouter-provisioning-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OPENROUTER_PROVISIONING_KEY | yes | yes | OpenRouter Provisioning API key — create at https://openrouter.ai/settings/provisioning. Distinct from inference keys: it can manage your account but cannot make completion calls. |
| OPENROUTER_ADMIN_ALLOW_WRITE | — | — | Set to '1' to enable destructive write tools (or_key_create, or_key_update, or_key_delete). Disabled by default — read-only tools (or_overview, or_credits, or_keys_list, or_key_get, or_activity, or_current_key) are always available. |
Freshness
Slowing — last maintenance signal 6mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-04-26 · 6mo ago · GitHub
Latest release
2026-04-26 · 6mo ago · GitHub · v0.7.3
Package published
no data · npm/PyPI
Registry entry updated
2026-04-26 · 6mo ago · official registry · v0.7.3
FAQ
›How do I install the Openrouter Admin MCP server in Claude Code?
Run: claude mcp add openrouter-admin -e OPENROUTER_PROVISIONING_KEY='<openrouter-provisioning-key>' -- npx -y openrouter-admin-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Openrouter Admin require an API key?
Yes. It expects OPENROUTER_PROVISIONING_KEY, of which 1 is a secret.
›Can I use Openrouter Admin as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Openrouter Admin in the official MCP registry?
Yes, as io.github.oviron/openrouter-admin.
Alternatives to Openrouter Admin
Other data & analytics MCP servers.