npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-model-selector-mcp

v0.1.0

Published

MCP server for AI model metadata — query 76+ models by capability, compatibility, and task fit

Readme

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-mcp

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 | |-----|-------------| | models://catalog | Full 76+ model catalog as JSON | | models://capabilities | Capability types with model counts and badge colors | | models://providers | 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 build

Test 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