Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

openrouter-admin

MCP server by oviron Community

Provides an MCP server for the OpenRouter management API. It covers credits, inference key management, guardrails, and usage analytics. Built for developers who manage OpenRouter accounts from Claude Code, Claude Desktop, Cursor, or other MCP clients.

  • Score 70
  • 0 stars
  • 136 a week
  • MIT
  • Updated

Install openrouter-admin

Built from the published package, never by AI.

claude mcp add openrouter-admin -e OPENROUTER_PROVISIONING_KEY=YOUR_OPENROUTER_PROVISIONING_KEY -- npx -y openrouter-admin-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install openrouter-admin in Claude Code

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-admin block.

About

openrouter-admin-mcp is an MCP server that wraps the OpenRouter management API. It exposes account credits, inference keys, guardrails, organization members, model and endpoint data, and usage activity as tools an AI assistant can call. The server is published on npm and runs through npx or a global install. It uses an OpenRouter Provisioning API key, which can manage the account but cannot make completion calls.

The server is read-only by default. Key creation, update, and deletion are only enabled when the OPENROUTER_ADMIN_ALLOW_WRITE environment variable is set. The source says the server returns raw API fields and leaves interpretation to the agent. It is aimed at developers and account administrators who want to check spend, drill into usage, and adjust keys and guardrails from inside an MCP-compatible client.

Written from the project's README and checked against it.

Tools it gives your assistant

  • or_overviewOne-shot dashboard with credits, active keys, and today's UTC burn by model.
  • or_keys_listLists all inference keys with usage, limits, reset cadence, and expiration.
  • or_key_createCreates a new inference key and returns the one-time secret. Write mode only.
  • or_key_updateUpdates a key's name, disabled state, limit, limit_reset, or expires_at. Write mode only.
  • or_activityShows usage for the last 30 UTC days with filters and by_model, by_day, by_provider, or by_key modes.
  • or_generationFetches a single inference call by its gen id, with cost, tokens, latency, and finish reason.
  • or_guardrails_listLists all guardrails with limit_usd, reset, allow and block lists, and ZDR settings.
  • or_guardrail_assign_keysBulk-assigns a guardrail to inference keys. Write mode only.
  • or_modelsLists the model catalog with per-1M token pricing, context length, and modalities.
  • or_org_membersLists members of the OpenRouter organization. Requires a Management key and org account.

What you need

  • OpenRouter Provisioning API key
  • MCP-compatible client such as Claude Code, Claude Desktop, or Cursor
  • Node.js with npx or npm
SettingNeededWhat it is
OPENROUTER_PROVISIONING_KEYEnvironment variable, secretRequiredOpenRouter 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_WRITEEnvironment variableOptionalSet 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.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • What burned my OpenRouter credits this week?
  • Create a temporary key with a $0.30 daily cap.
  • Show my OpenRouter credits and active keys today.

Good to know

  • Read-only by default. Write tools need OPENROUTER_ADMIN_ALLOW_WRITE=1.
  • Not an inference proxy. The Provisioning key cannot make completion calls.
  • Returns raw API fields without flagging anomalies or limits.

Security check

A

No 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-admin

All alternatives →
Oh My Posh Validator JanDeDobbeleer
100

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.

AAA Remote 24k
Sim simstudioai
100

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.

AAA Remote 30k
Omnara omnara-ai
98

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.

AAA Remote 3.5k
strata Klavis-AI
95

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.

AAA Remote 5.8k
voicemode mbailey
95

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.

AAA Local 1.5k
OpenWork MCP Gateway different-ai
94

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.

AFA Remote 25k

Compare with Oh My Posh Validator, Sim or Omnara

openrouter-admin: common questions

Can this server make AI model calls?

No. The source says it is not an inference proxy and uses a Provisioning key that cannot make completion calls.

Are key changes allowed by default?

No. Key create, update, and delete tools are disabled unless OPENROUTER_ADMIN_ALLOW_WRITE is set.

Where is my provisioning key sent?

The source says the key is forwarded only to https://openrouter.ai/api/v1/* over HTTPS and is not shown in error messages or tool output.

How do I install openrouter-admin?

In Claude Code run claude mcp add openrouter-admin -e OPENROUTER_PROVISIONING_KEY=YOUR_OPENROUTER_PROVISIONING_KEY -- npx -y openrouter-admin-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is openrouter-admin the official server?

openrouter-admin is a community project by oviron, not verified by a company domain.

Is openrouter-admin free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is openrouter-admin safe to use?

It scores 70 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-admin?

Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.

Does openrouter-admin 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.

openrouter-admin Install

Add to stack

Loading.