@mixmediahk/models-dev-mcp
v1.1.1
Published
MCP server for querying AI model specifications from models.dev
Readme
@mixmediahk/models-dev-mcp
MCP server for querying AI model specifications from models.dev.
Features
- 🔍 Search and filter AI models by provider, capabilities, context size
- 📊 Get detailed model specifications and pricing
- 🏢 List all AI providers with configuration details
- ⚖️ Compare multiple models side-by-side
- 💾 Built-in caching for better performance
Tools
| Tool | Description |
|------|-------------|
| search_models | Filter models by provider, capabilities, context size, etc. |
| get_model | Get detailed info for a specific model by ID |
| list_providers | List all AI providers |
| get_provider | Get provider details (env vars, npm package, docs) |
| compare_models | Compare multiple models side-by-side |
Installation
npm install -g @mixmediahk/models-dev-mcp
# or
yarn global add @mixmediahk/models-dev-mcpModel ID Format
Models are identified by provider/model-name:
openai/gpt-5anthropic/claude-opus-4-6google/gemini-2.5-proopenrouter/google/gemini-2.5-flash(provider with subpath)
Usage
OpenCode
Add to opencode.json:
{
"mcp": {
"models-dev": {
"type": "local",
"command": ["npx", "-y", "@mixmediahk/models-dev-mcp"]
}
}
}Codex
Add to codex.json:
{
"mcpServers": {
"models-dev": {
"command": "npx",
"args": ["-y", "@mixmediahk/models-dev-mcp"]
}
}
}Claude Code
claude mcp add models-dev -- npx -y @mixmediahk/models-dev-mcpOr add to .claude/mcp.json:
{
"mcpServers": {
"models-dev": {
"command": "npx",
"args": ["-y", "@mixmediahk/models-dev-mcp"]
}
}
}Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"models-dev": {
"command": "npx",
"args": ["-y", "@mixmediahk/models-dev-mcp"]
}
}
}Development
git clone https://github.com/yourusername/models-dev-mcp.git
cd models-dev-mcp
yarn install
yarn build
yarn startExamples
Search for models with specific capabilities
Search for models that support tool calling and have at least 100k contextGet model details
Get details for openai/gpt-5Compare models
Compare openai/gpt-5 and anthropic/claude-opus-4-6Data Source
This MCP server fetches data from models.dev API. Data is cached in memory for 5 minutes to avoid rate limits.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
Apache-2.0
