AI Model Registry MCP Server
Enables AI agents to discover and query live model information from OpenRouter, HuggingFace, and Ollama Cloud, ensuring recommendations are based on current data.
README
AI Model Registry
Live AI model registry that polls OpenRouter, HuggingFace, and Ollama Cloud hourly. Provides agents (Hermes, OpenClaw, Claude Code) with up-to-date model information so they never recommend outdated models from stale training data.
Architecture
┌─────────────────────────────────────────────┐
│ AI Model Registry (FastAPI) │
│ │
│ ┌─────────┐ ┌──────────┐ ┌─────────────┐ │
│ │OpenRouter│ │HuggingFace│ │Ollama Cloud │ │
│ │ poller │ │ poller │ │ poller │ │
│ └────┬─────┘ └─────┬─────┘ └──────┬──────┘ │
│ └──────────────┼────────────────┘ │
│ ▼ │
│ In-Memory Cache │
│ │ │
│ ┌────────────┼────────────┐ │
│ ▼ ▼ ▼ │
│ REST API MCP Server Hermes Skill │
│ (port 8000) (stdio) (SKILL.md) │
└─────────────────────────────────────────────┘
Quick Start
# Clone
git clone <your-repo> ai-model-registry
cd ai-model-registry
# Install
pip install -r requirements.txt
# Run the API server
python -m uvicorn src.server:app --port 8000
# In another terminal, test it
curl http://localhost:8000/
curl http://localhost:8000/models/best?capability=coding
curl http://localhost:8000/models/search?q=kimi
Deploy on VPS (systemd)
# Copy to VPS
scp -r ai-model-registry user@vps:/opt/ai-model-registry
# Install deps
cd /opt/ai-model-registry
pip install -r requirements.txt
# Install service
sudo cp deploy/ai-model-registry.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now ai-model-registry
# Verify
curl http://localhost:8000/
MCP Integration (Hermes)
Add to ~/.hermes/config.yaml:
mcp_servers:
model_registry:
command: "python3"
args: ["/opt/ai-model-registry/src/mcp_server.py"]
env:
REGISTRY_API_URL: "http://localhost:8000"
Then copy the skill:
cp -r skill /path/to/.hermes/skills/ai-model-registry
Restart Hermes. Tools will appear as:
mcp_model_registry_list_modelsmcp_model_registry_search_modelsmcp_model_registry_best_modelsmcp_model_registry_registry_stats
API Endpoints
| Endpoint | Description |
|---|---|
GET / |
Health check + cache info |
GET /models |
List models with filters (source, capability, min_context, max_input_price, limit, offset) |
GET /models/search?q=X |
Search by name/id/description |
GET /models/best?capability=X |
Best models for a capability (coding, vision, tools, reasoning, agent, general, cheapest, largest_context) |
GET /models/by-source/{source} |
Filter by provider |
POST /refresh |
Manual refresh |
GET /stats |
Registry statistics |
Environment Variables
| Var | Default | Description |
|---|---|---|
POLL_INTERVAL |
3600 |
Seconds between polls (1 hour) |
OLLAMA_API_KEY |
(empty) | Ollama Cloud API key for full model listing |
REGISTRY_API_URL |
http://localhost:8000 |
URL for MCP server to connect to |
Data Sources
- OpenRouter:
GET https://openrouter.ai/api/v1/models— 400+ models with pricing - HuggingFace:
GET https://huggingface.co/api/models— Hub models + inference models - Ollama Cloud:
GET https://ollama.com/api/tags— Cloud models (API key optional)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.