mcp
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"index9": {
"args": [
"@index9/mcp"
],
"command": "npx",
"env": {
"OPEN_ROUTER_API_KEY": "your-key-here"
}
}
}
}
服务介绍
@index9/mcp
Give your AI assistant up-to-date model knowledge. 1000+ models with real-time pricing, context windows, and capabilities. Latest data, instant responses, zero cost.
Without Index9 MCP
LLMs rely on outdated training data about AI models:
- "Use GPT-4 for complex reasoning" (missing GPT-5.1, Claude Opus 4.5, and latest models)
- "This fits in GPT-3.5's 4K context" (current models have 128K-2M+ context windows)
- Generic advice without real pricing or capability comparisons
- No awareness of cutting-edge models released this month
With Index9 MCP
Your AI assistant has real-time access to the latest models and provides specific, data-driven recommendations:
- "Use GPT-5.1 - 400K context, $1.25/million input, latest frontier-grade reasoning with adaptive computation"
- "For massive documents, try Grok 4.1 Fast with 2M context at $0.2/million input tokens"
- "Vision + reasoning needed? Use Claude Opus 4.5 at $5/million - multimodal with 200K context"
- "Budget option: Arcee Trinity Mini at $0.04/million for text-only tasks"
- Compare the latest models side-by-side with current pricing, test live performance, and get cutting-edge recommendations
- This section was written using Index9 MCP data - the AI assistant knew about Arcee Trinity Mini before it was cool!*
Quick Start
Cursor
Open Cursor Settings MCP Add new global MCP server
{
"mcpServers": {
"index9": {
"command": "npx",
"args": ["-y", "@index9/mcp"]
}
}
}
VS Code
Open VS Code Settings MCP Servers Add Server
"mcp": {
"servers": {
"index9": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@index9/mcp"]
}
}
}
Other MCP Clients
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"index9": {
"command": "npx",
"args": ["-y", "@index9/mcp"]
}
}
}
Claude Code
Run in terminal:
claude mcp add index9 -- npx -y @index9/mcp
Windsurf
Add to Windsurf MCP config file
{
"mcpServers": {
"index9": {
"command": "npx",
"args": ["-y", "@index9/mcp"]
}
}
}
Cline
Open Cline MCP Servers Edit Configuration
{
"mcpServers": {
"index9": {
"command": "npx",
"args": ["-y", "@index9/mcp"]
}
}
}
Configuration
Testing Models (Optional)
To use the test_model tool, add your OpenRouter API key:
{
"mcpServers": {
"index9": {
"command": "npx",
"args": ["@index9/mcp"],
"env": {
"OPEN_ROUTER_API_KEY": "your-key-here"
}
}
}
}
Get your API key from openrouter.ai/keys.
Available Tools
list_models- List models with optional filters (provider, context, modality, pricing, capabilities)search_models- Semantic search across models using natural languageget_model- Get complete model details and specificationscompare_models- Compare 2-10 models side-by-siderecommend_model- Get AI-powered model recommendations for use casestest_model- Run live tests against models via OpenRouter API (requires API key)
License
MIT Index9
Related
- Index9 - AI model registry and testing platform
- Model Context Protocol - The protocol this server implements