ai-model-selector-mcp
Provides structured access to metadata for Ollama models, enabling querying capabilities, filtering, compatibility checks, comparisons, and task-based recommendations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ai-model-selector-mcprecommend a model for coding"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ai-model-selector-mcp
MCP server that gives AI assistants structured access to model metadata for 76+ AI models across Ollama, Claude, and OpenRouter.
Query capabilities, check compatibility, compare models, and get task-based recommendations — all via the Model Context Protocol.
Quick start
Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"ai-model-selector": {
"command": "npx",
"args": ["-y", "ai-model-selector-mcp@latest"]
}
}
}Restart Claude Code. The tools are now available.
Other MCP clients
Any MCP-compatible client can connect via stdio:
npx ai-model-selector-mcpRelated MCP server: OpenRouter MCP Server
How it works
Claude Code (or any MCP client)
│
│ JSON-RPC over stdio
▼
ai-model-selector-mcp
│
│ imports catalog data
▼
ai-model-selector/catalog
(76+ model entries with capabilities,
parameter sizes, exclusion rules)The MCP server wraps the ai-model-selector catalog — a curated dataset of AI model metadata. No external API calls, no database, no network access. All data is bundled.
Tools
get_model_metadata
Look up a single model's capabilities, parameter size, and exclusion rules.
Input: { modelId: "gemma3:12b" }
Output: { capabilities: ["general", "writing"], description: "Google all-rounder", parameterSize: "12B" }filter_models
Filter the catalog by capability tags and/or mode compatibility.
Input: { capabilities: ["coding"], excludeMode: "json-output" }
Output: { models: [...], count: 5 }check_compatibility
Pre-flight check: is this model compatible with a given mode?
Input: { modelId: "phi4-reasoning", mode: "json-output" }
Output: { compatible: false, reason: "Model excluded from json-output mode...", model: {...} }compare_models
Side-by-side comparison of 2+ models — shared and unique capabilities.
Input: { modelIds: ["gemma3:12b", "claude-sonnet"] }
Output: { comparison: [...], sharedCapabilities: ["general", "writing"], uniqueCapabilities: { "claude-sonnet": ["coding"] } }recommend_model
Task-based model recommendation with scoring.
Input: { task: "coding", mode: "json-output", preferSmall: true }
Output: { recommended: [{ pattern: "codegemma", score: 4, ... }, ...] }Scoring: +3 primary capability match, +1 secondary, -10 if excluded from mode, +1 if small model preferred and <= 7B.
Resources
URI | Description |
| Full 76+ model catalog as JSON |
| Capability types with model counts and badge colors |
| Provider (Ollama, Claude, OpenRouter) to model family mapping |
Model catalog
The catalog covers 76 model patterns across 3 providers:
Capability | Models | Examples |
reasoning | 6 | phi4-reasoning, deepseek-r1, qwq |
coding | 5 | codegemma, starcoder2, codellama |
writing | 5 | mistral, dolphin3, neural-chat |
general | 15+ | gemma3, qwen3, llama3.3, phi4 |
vision | 3 | llava, bakllava, llama3.2 |
research | 6 | phi4-reasoning, deepseek-r1 |
Models with excludeFromModes: ["json-output"] are reasoning models that generate <think> tags, which break JSON parsing in structured output workflows.
Development
git clone https://github.com/barrymister/ai-model-selector-mcp.git
cd ai-model-selector-mcp
npm install
npm run buildTest locally:
# Add to .mcp.json for local testing
{
"mcpServers": {
"ai-model-selector": {
"command": "node",
"args": ["path/to/ai-model-selector-mcp/dist/index.js"]
}
}
}Related projects
ai-model-selector — React components and hooks for AI model selection (the catalog data source)
llm-eval-pipeline — Multi-provider LLM evaluation with MLflow experiment tracking
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides AI assistants with real-time access to 1000+ AI models including their latest pricing, context windows, capabilities, and specifications. Supports model search, comparison, recommendations, and live testing.Last updated32201MIT
- AlicenseAqualityDmaintenanceProvides access to 400+ AI models from OpenRouter, enabling users to chat with models like GPT-4, Claude, Gemini, and Llama, compare responses across multiple models, and retrieve model information with pricing details.Last updated43313MIT
- Alicense-qualityAmaintenanceEnables AI agents to query OpenRouter model information including prices, ELO rankings, context, and perform comparisons.Last updated961MIT
- Alicense-qualityDmaintenanceDiscovers LLM models in real time from cloud providers and local Ollama instances, returning compatibility profiles and live pricing so AI agents can route tasks to the cheapest viable model without breaking tool calls or context clipping.Last updated8MIT
Related MCP Connectors
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Live data gateway for AI — 3,300+ tools across 750+ sources, with citations
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/barrymister/ai-model-selector-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server