---
title: "openrouter"
description: "OpenRouter integration using its official MCP, Agent Skills, APIs, and SDK documentation."
canonical: https://agentpluginsdirectory.com/plugins/openrouter
last-updated: 2026-09-21
---

# openrouter
OpenRouter integration using its official MCP, Agent Skills, APIs, and SDK documentation.
- Slug: openrouter
- Publisher: Kevin
- Repository: https://github.com/kyxzhe/openrouter-plugin
- Manifest: plugins/openrouter/plugin.json
- Version: 0.2.1
- Category (editorial): integrations
- Skills: 21 (create-agent-tui, create-headless-agent, install-ori-harness, openrouter-agent-migration, openrouter-analytics-query, openrouter-analytics-schema, openrouter-analytics, openrouter-benchmarks, openrouter-generations, openrouter-images, openrouter-key-management, openrouter-models, openrouter-oauth, openrouter-stt, openrouter-tts, openrouter-typescript-sdk, openrouter-video, run-openrouter-experiment, spawn-ori-eval, update-openrouter-plugin, use-openrouter)
- MCP servers: 1 (openrouter)
- Stars: 0
- Repository created: 2026-08-02
- Repository last pushed: 2026-08-28
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/openrouter
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What openrouter does, in the publisher's words

This directory is the installable plugin shared by Codex and Claude Code.

See the repository README for the current Codex and Claude Code installation commands, OAuth setup, examples, and update instructions.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/kyxzhe/openrouter-plugin/HEAD/plugins/openrouter/README.md

## Skills

- create-agent-tui: Scaffolds a complete agent TUI in TypeScript using @openrouter/agent, like create-react-app for terminal agents. Generates a customizable terminal interface with three input styles, four tool display modes, ASCII banners, streaming output, session persistence, and configurable tools. Use when buil…
- create-headless-agent: Scaffolds a headless agent in TypeScript using @openrouter/agent and Bun, for CLI tools, API servers, queue workers, and pipelines. No terminal UI. Use when building a headless agent, programmatic agent, CLI tool that uses AI, batch agent, pipeline agent, API agent, agent without a UI, or agent se…
- install-ori-harness: Install Ori and run the user's existing coding agent CLI through Ori on OpenRouter, with OAuth sign-in, model selection, upgrades, and install verification.
- openrouter-agent-migration: Migration guide from @openrouter/sdk to @openrouter/agent for callModel, tool(), stop conditions, and agent features. This skill should be used when code imports callModel, tool(), or stop conditions from @openrouter/sdk and needs to migrate to @openrouter/agent.
- openrouter-analytics-query: Construct and execute analytics queries against the OpenRouter API, full parameter reference for metrics, dimensions, filters, time ranges, ordering, and pagination. Use when building or debugging an analytics query, understanding the request/response shape, or handling query errors.
- openrouter-analytics-schema: Discover the OpenRouter analytics schema: available metrics, dimensions, filter operators, and granularities. Use when you need to know what analytics data is queryable, what dimensions you can break down by, or how to map a user's question to the right metric/dimension combination.
- openrouter-analytics: Answer natural-language questions about a user's OpenRouter usage data, spend, request volume, model breakdown, latency, token usage, and cost optimization. Use when the user asks about their API usage, billing, costs, top models, traffic patterns, or wants to optimize their OpenRouter spend.
- openrouter-benchmarks: Query OpenRouter's Benchmarks API for model benchmark rankings and scores. Use when the user asks for benchmark-backed model selection, model rankings by coding/intelligence/agentic ability, Artificial Analysis or Design Arena ELO/win-rate results, benchmark citations, or wants to call GET /api/v1/…
- openrouter-generations: Retrieve detailed metadata and stored content for individual OpenRouter generations. Use when the user wants to inspect a specific request, its cost, latency, token usage, provider routing, or the actual prompt/completion text, or is debugging a failed or unexpected generation.
- openrouter-images: Generate images from text prompts and edit existing images using OpenRouter's dedicated Image API. Use when the user asks to create, generate, or make an image, picture, or illustration from a description, or wants to edit, modify, transform, or alter an existing image with a text prompt.
- openrouter-key-management: Administer OpenRouter from natural-language requests through current official APIs, including API keys and quotas, credits, organization members, workspaces and memberships, budgets, guardrails, BYOK provider credentials, observability destinations, and presets. Use for OpenRouter dashboard-style a…
- openrouter-models: Query OpenRouter for available AI models, pricing, capabilities, throughput, and provider performance. Use when the user asks about available OpenRouter models, model pricing, model context lengths, model capabilities, provider latency or uptime, throughput limits, supported parameters, wants to se…
- openrouter-oauth
- openrouter-stt
- openrouter-tts
- openrouter-typescript-sdk
- openrouter-video
- run-openrouter-experiment
- spawn-ori-eval
- update-openrouter-plugin
- use-openrouter

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.

## MCP servers

- openrouter: transport: streamable-http; url: https://mcp.openrouter.ai/mcp

Read from the plugin's own mcp.json. Environment variable names only, never values.
