π Real-time AI model intelligence platform - Track trends, compare models, discover breakthroughs | 17 MCP tools for Claude Desktop | SQLite zero-config | HuggingFace + OpenRouter + Arena
AI Model Intelligence MCP
π δΈζζζ‘£ | English
A Model Context Protocol (MCP) server that provides real-time intelligence about the global AI model ecosystem. Track trends, compare models, and discover the next breakthrough AI model.
π Why AI Model Intelligence?
In the rapidly evolving AI landscape, staying updated on model trends is crucial but time-consuming. This MCP server solves that by:
- β Zero Configuration - SQLite-based, runs out of the box
- β Real-time Intelligence - Track downloads, likes, and trend scores
- β 17 Powerful Tools - Core tools + Advanced features (search filters, quantization versions, ecosystem analysis, batch comparison, task recommendations, deployment guides, benchmarks, trend tracking)
- β Multi-dimensional Analysis - Compare models across metrics
- β Smart Mirror Selection - Auto-selects fastest HuggingFace mirror
- β Open Source - Customize and extend as needed
π Table of Contents
- Features
- Quick Start
- Installation
- Configuration
- MCP Tools
- Usage Examples
- Architecture
- Development
- Troubleshooting
- Contributing
- Roadmap
- License
β¨ Features
17 Powerful MCP Tools
| Category | Tool | Description | Use Case |
|----------|------|-------------|----------|
| π₯ Discovery | get_hot_models | Track trending models by growth rate | "What are the hottest models this week?" |
| π Discovery | get_latest_models | Discover recently released models | "Show me newly released models" |
| π Search | search_models | Advanced search with filters (type, license, author, sorting) | "Find Apache-2.0 licensed coding models" |
| π Details | get_model_detail | Comprehensive model info with VRAM estimates | "Tell me about Qwen2.5-Coder-32B" |
| βοΈ Comparison | compare_models | Compare two models across dimensions | "Compare Llama-3.3-70B vs DeepSeek-V3" |
| π Comparison | compare_models_batch | Compare 2-5 models simultaneously | "Compare top 3 coding models" |
| π― Recommendation | recommend_for_task | Task-based recommendations with constraints | "Best model for coding on 24GB GPU" |
| π Deployment | get_deployment_guide | Hardware-aware feasibility analysis | "Can I run Qwen2.5-72B on 32GB VRAM?" |
| π Benchmarks | get_model_benchmarks | Arena ELO ratings and benchmark scores | "Show benchmark scores for Claude-3.5" |
| π Analytics | get_trending_changes | Track rank and metric changes over time | "Which models are rising in popularity?" |
| π¦ Quantization | get_model_versions | Find GGUF/AWQ/GPTQ/MLX variants | "Show quantized versions of Llama-3.3" |
| π³ Ecosystem | get_model_ecosystem | Explore base models and derivatives | "What models are based on Llama-3?" |
| π·οΈ Filter | get_models_by_type | Filter models by type/tags | "Show all text-to-image models" |
| π Filter | get_models_by_size | Filter by parameter count range | "Models between 7B and 13B parameters" |
| π Filter | get_models_by_license | Filter by license type | "Show all MIT licensed models" |
| π€ Filter | get_models_by_author | Get models from specific author/org | "All models by Qwen team" |
Data Sources
| Source | Data Provided | |--------|---------------| | π€ HuggingFace | Downloads, likes, metadata, tags, licenses, model cards | | π OpenRouter | Real-time pricing, context length, provider availability | | π LMSYS Arena | ELO ratings, rankings, benchmark scores (Coming Soon) |
π Quick Start
Step 1: Install via npm (Recommended)
npm install -g @npm_xiyuan/mcp-model-radar
Step 2: Configure Claude Desktop
Edit your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"model-radar": {
"command": "npx",
"args": ["-y", "@npm_xiyuan/mcp-model-radar"]
}
}
}
Step 3: Restart Claude Desktop
After restarting, you'll have access to 17 powerful AI model intelligence tools! π
π‘ Usage Examples
π₯ Find Hot Trending Models
Ask Claude:
What are the trending AI models right now?
Claude will use the get_hot_models tool to show you models with the highest growth rates.
π Search for Specific Models
Ask Claude:
Find me coding models with Apache 2.0 license
Claude will use search_models with filters to find matching models.
βοΈ Compare Multiple Models
Ask Claude:
Compare Qwen2.5-Coder-32B, DeepSeek-V3, and Llama-3.3-70B
Claude will use compare_models_batch to show a detailed comparison across metrics.
π― Get Task Recommendations
Ask Claude:
Recommend a coding model that can run on my 24GB VRAM GPU
Claude will use recommend_for_task to suggest suitable models based on your constraints.
π Check Deployment Feasibility
Ask Claude:
Can I run Qwen2.5-72B on my system with 32GB VRAM?
Claude will use get_deployment_guide to analyze hardware requirements and suggest quantization options.
π§ Supported MCP Clients
This MCP server works with any application that supports the Model Context Protocol. Here's a comprehensive list:
π€ AI Assistants
| Client | Platform | Configuration |
|--------|----------|---------------|
| Claude Desktop | macOS, Windows | Add to claude_desktop_config.json |
| Claude Code | CLI, Desktop, Web, IDE Extensions | Built-in MCP support |
| Cherry Studio | Cross-platform | Built-in MCP support |
| Open WebUI | Web-based | MCP integration via settings |
π οΈ AI Coding Agents
| Agent | Platform | Description | |-------|----------|-------------| | Aider | Terminal/CLI | AI pair programming in terminal, supports MCP | | OpenHands | Web/Self-hosted | Open-source AI software engineer (formerly OpenDevin) | | Void | Desktop IDE | AI-first code editor with MCP support | | Aide | VS Code | AI development assistant with MCP integration | | Devin | Web-based | AI software engineer by Cognition AI |
π» IDEs & Editors
| IDE/Editor | Platform | Extension/Integration | |------------|----------|----------------------| | Cursor | macOS, Windows, Linux | Built-in MCP support | | Windsurf | macOS, Windows, Linux | Native MCP integration | | Zed | macOS, Linux | Built-in MCP support | | VS Code | Cross-platform | Via Cline or Continue extensions | | JetBrains IDEs | Cross-platform | Via Continue plugin |
π VS Code Extensions
| Extension | Description | MCP Config |
|-----------|-------------|------------|
| Cline | AI coding assistant | Add to Cline settings |
| Continue | AI code assistant | Add to continue/config.json |
| RooCode | AI pair programmer | MCP server configuration |
π Configuration Examples
Claude Desktop
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"model-radar": {
"command": "npx",
"args": ["-y", "@npm_xiyuan/mcp-model-radar"]
}
}
}
Cursor
Open Cursor Settings β Features β Enable MCP
Add to MCP servers list:
{
"model-radar": {
"command": "npx",
"args": ["-y", "@npm_xiyuan/mcp-model-radar"]
}
}
Cline (VS Code)
Open Cline settings β MCP Servers
Add configuration:
{
"mcpServers": {
"model-radar": {
"command": "npx",
"args": ["-y", "@npm_xiyuan/mcp-model-radar"]
}
}
}
Continue (VS Code/JetBrains)
Location: ~/.continue/config.json (macOS/Linux) or %USERPROFILE%\.continue\config.json (Windows)
{
"mcpServers": {
"model-radar": {
"command": "npx",
"args": ["-y", "@npm_xiyuan/mcp-model-radar"]
}
}
}
Zed Editor
Add to Zed settings:
{
"context_servers": {
"model-radar": {
"command": "npx",
"args": ["-y", "@npm_xiyuan/mcp-model-radar"]
}
}
}
π For detailed configuration guides, see MCP Configuration Guide
π Complete Configuration Guide
For Other MCP Clients
Cursor, Cline, Continue, Zed: See MCP Configuration Guide
Alternative: Install from Source
If you prefer to build from source:
# Clone the repository
git clone https://github.com/jiyi1990118/mcp-model-radar.git
cd mcp-model-radar
# Install and build
npm install
npm run build
# Configure Claude Desktop
{
"mcpServers": {
"model-radar": {
"command": "node",
"args": ["/absolute/path/to/mcp-model-radar/dist/server.js"]
}
}
}
π¦ Installation
Prerequisites
- Node.js 18.0.0 or higher
- npm or pnpm
- SQLite (recommended, built-in) OR PostgreSQL 14+ (optional)
Option 1: SQLite (Recommended)
Zero configuration, perfect for local development and testing.
# Clone the repository
git clone https://github.com/jiyi1990118/mcp-model-radar.git
cd mcp-model-radar
# Install dependencies
npm install
# Build the project
npm run build
# Insert test data (5 popular models)
npm run insert-test
# Verify everything works
npm run test
Your database is automatically created at ./modelradar.db (48 KB with test data).
Option 2: PostgreSQL
For production deployments or larger datasets.
# Install dependencies
npm install
# Create database
psql -U postgres -c "CREATE DATABASE modelradar;"
# Run schema
psql -U postgres -d modelradar -f src/db/schema.sql
# Configure environment
cp .env.example .env
# Edit .env and set:
# DB_TYPE=postgresql
# DATABASE_URL=postgresql://postgres:password@localhost:5432/modelradar
# Build and seed
npm run build
npm run seed
βοΈ Configuration
Environment Variables
Create a .env file in the project root:
# Database Type: sqlite or postgresql
DB_TYPE=sqlite
# SQLite Configuration (when DB_TYPE=sqlite)
SQLITE_DB_PATH=./modelradar.db
# PostgreSQL Configuration (when DB_TYPE=postgresql)
DATABASE_URL=postgresql://postgres:password@localhost:5432/modelradar
# API Keys (optional for V1)
OPENROUTER_API_KEY=your_api_key_here
# Collector Settings
HF_COLLECTION_LIMIT=100
HF_PRIORITY_ORGS=unsloth,Qwen,deepseek-ai,microsoft,google,mistralai,meta-llama
# Scheduler (set to true to enable hourly data collection)
ENABLE_SCHEDULER=false
# Logging
LOG_LEVEL=info
Database Switching
Switch between SQLite and PostgreSQL anytime by changing DB_TYPE in .env:
# Use SQLite (default)
DB_TYPE=sqlite
# Use PostgreSQL
DB_TYPE=postgresql
No code changes needed - the database adapter handles everything.
π οΈ MCP Tools
All tools are accessible through MCP clients like Claude Desktop, Cursor, etc.
1. get_hot_models
Get trending models sorted by trend score.
Parameters:
limit(optional): Number of models to return (default: 20)
Returns: Array of models with trend scores, downloads, and likes
Example Usage:
"Get the top 10 hottest AI models right now"
"Show me the 5 most trending models"
Sample Response:
[
{
"model": "Qwen/Qwen3-235B",
"trend_score": 98,
"downloads": 5000000,
"likes": 12000
},
{
"model": "deepseek-ai/DeepSeek-V3",
"trend_score": 95,
"downloads": 3000000,
"likes": 8000
}
]
2. get_latest_models
Get recently released models.
Parameters:
hours(optional): Hours to look back (default: 24)
Returns: Array of models released within the specified timeframe
Example Usage:
"Show me models released in the last 48 hours"
"What are the newest AI models?"
Sample Response:
[
{
"model": "mistralai/Mistral-Large-2",
"name": "Mistral-Large-2",
"author": "mistralai",
"created_at": "2026-06-07T10:30:00Z",
"downloads": 1500000,
"likes": 5000
}
]
3. search_models
Search models by keyword across name, author, and metadata.
Parameters:
keyword(required): Search termlimit(optional): Max results (default: 50)
Returns: Array of matching models
Example Usage:
"Search for models with 'qwen' in the name"
"Find all deepseek models"
Sample Response:
[
{
"model": "Qwen/Qwen3-235B",
"name": "Qwen3-235B",
"author": "Qwen",
"downloads": 5000000,
"likes": 12000,
"trend_score": 98
}
]
4. get_model_detail
Get comprehensive information about a specific model.
Parameters:
model_id(required): Full model ID (e.g., "Qwen/Qwen3-235B")
Returns: Detailed model object with all metadata
Example Usage:
"Show me details for Qwen/Qwen3-235B"
"Get full information about deepseek-ai/DeepSeek-V3"
Sample Response:
{
"model_id": "Qwen/Qwen3-235B",
"name": "Qwen3-235B",
"author": "Qwen",
"base_model": null,
"params": null,
"license": "Apache-2.0",
"context_length": 32768,
"tags": ["text-generation"],
"created_at": "2026-06-08T02:00:00Z",
"downloads": 5000000,
"likes": 12000,
"trend_score": 98
}
5. compare_models
Compare two models across multiple dimensions.
Parameters:
model_a(required): First model IDmodel_b(required): Second model ID
Returns: Comparison result showing which model wins in each dimension
Example Usage:
"Compare Qwen/Qwen3-235B with deepseek-ai/DeepSeek-V3"
"Which is better: model A or model B?"
Sample Response:
{
"downloads": "A",
"likes": "A",
"trend_score": "A",
"cost": "B",
"context": "B"
}
Keys: "A" = first model wins, "B" = second model wins, "tie" = equal
π Usage Examples
Example 1: Finding Trending Models
User Query: "What are the hottest AI models right now?"
Tool Called: get_hot_models with limit: 5
Result: List of 5 models with highest trend scores, showing which models are gaining traction fastest.
Example 2: Discovering New Releases
User Query: "Show me models released today"
Tool Called: get_latest_models with hours: 24
Result: All models released in the last 24 hours, perfect for staying updated.
Example 3: Finding Specific Models
User Query: "Find all Qwen models"
Tool Called: search_models with keyword: "qwen"
Result: All models matching "qwen" in name or metadata.
Example 4: Model Comparison
User Query: "Compare Qwen3-235B vs DeepSeek-V3"
Tool Called: compare_models with both model IDs
Result: Head-to-head comparison showing strengths of each model.
ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββ
β MCP Server (stdio) β
β 5 Tools exposed via MCP SDK β
βββββββββββββββββββ¬ββββββββββββββββββββ
β
βββββββββββββββββββΌββββββββββββββββββββ
β Tools Layer β
β get_hot_models, search_models... β
βββββββββββββββββββ¬ββββββββββββββββββββ
β
βββββββββββββββββββΌββββββββββββββββββββ
β Database Abstraction Layer β
β Unified interface for queries β
βββββββββββββββ¬ββββββββββββ¬ββββββββββββ
β β
ββββββββΌβββ ββββββΌβββββββ
β SQLite β βPostgreSQL β
βββββββββββ βββββββββββββ
β
βββββββββββββββββββΌββββββββββββββββββββ
β Data Collectors β
β HuggingFace, OpenRouter APIs β
βββββββββββββββββββββββββββββββββββββββ
Key Components
- MCP Server (
src/server.ts) - Entry point, registers tools - Tools (
src/tools/) - 5 MCP tool implementations - Database Layer (
src/db/) - Abstraction for SQLite/PostgreSQL - Collectors (
src/collectors/) - Data collection from external APIs - Analysis (
src/analysis/) - Trend score calculation
Trend Score Algorithm
V1 Formula:
Trend Score = (0.6 Γ Download Growth) + (0.4 Γ Like Growth)
Scale: 0-100
Growth Period: 7 days
Higher scores indicate faster-growing models with strong community engagement.
π» Development
Project Structure
modelRadar/
βββ src/
β βββ server.ts # MCP server entry point
β βββ tools/ # MCP tool implementations
β β βββ get-hot-models.ts
β β βββ get-latest-models.ts
β β βββ search-models.ts
β β βββ get-model-detail.ts
β β βββ compare-models.ts
β βββ db/ # Database layer
β β βββ index.ts # Database adapter
β β βββ connection.ts # PostgreSQL connection
β β βββ connection-sqlite.ts # SQLite connection
β β βββ queries.ts # PostgreSQL queries
β β βββ queries-sqlite.ts # SQLite queries
β β βββ schema.sql # PostgreSQL schema
β β βββ schema-sqlite.sql # SQLite schema
β βββ collectors/ # Data collectors
β β βββ huggingface.ts
β β βββ openrouter.ts
β βββ analysis/ # Analysis logic
β β βββ trend-score.ts
β βββ scheduler/ # Cron jobs
β βββ collector-jobs.ts
βββ dist/ # Compiled JavaScript
βββ docs/ # Documentation
βββ package.json
βββ tsconfig.json
βββ .env # Environment config
Available Scripts
# Development
npm run dev # Start with hot reload using tsx
# Build
npm run build # Compile TypeScript + copy SQL files
# Production
npm start # Start the MCP server
# Testing
npm run test # Run all tool tests
npm run insert-test # Insert test data quickly
# Data seeding
npm run seed # Seed with real data (requires API access)
Adding a New Tool
- Create tool file in
src/tools/your-tool.ts:
import { getModels } from '../db/index.js';
export async function yourTool(args: any) {
// Implementation
const results = await getModels(args.limit, 'ORDER_CLAUSE');
return results;
}
- Register in
src/server.ts:
server.tool({
name: 'your_tool',
description: 'Tool description',
inputSchema: {
type: 'object',
properties: {
// Define parameters
}
}
}, async (request) => {
const result = await yourTool(request.params.arguments);
return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
});
- Test it:
npm run build
npm start
# Use the tool in Claude Desktop
π Troubleshooting
Database Issues
Problem: "ENOENT: no such file or directory, open './modelradar.db'"
Solution:
npm run build
npm run insert-test
The database is auto-created on first run. Make sure to build first.
Problem: "PostgreSQL connection refused"
Solution:
- Ensure PostgreSQL is running:
pg_isready - Check
DATABASE_URLin.env - Verify database exists:
psql -U postgres -l
MCP Configuration Issues
Problem: "Tools not showing in Claude Desktop"
Solution:
- Verify config path is absolute, not relative
- Check
dist/server.jsexists afternpm run build - Restart Claude Desktop completely
- Check Claude Desktop logs for errors
macOS logs: ~/Library/Logs/Claude/mcp*.log
Problem: "No data returned from tools"
Solution:
# Insert test data first
npm run insert-test
# Verify tools work
npm run test
Build Issues
Problem: "Cannot find module './db/schema-sqlite.sql'"
Solution: The build script automatically copies SQL files. If it fails:
npm run copy-sql
Or manually:
mkdir -p dist/db
cp src/db/*.sql dist/db/
Common Questions
Q: Can I use both SQLite and PostgreSQL?
A: Yes, switch anytime by changing DB_TYPE in .env. The database adapter handles everything.
Q: How do I add more models?
A: Enable the scheduler (ENABLE_SCHEDULER=true) or run collectors manually:
npm run seed
Q: Can I deploy this to production?
A: Yes! Use PostgreSQL for production:
DB_TYPE=postgresql
DATABASE_URL=postgresql://user:pass@host:5432/db
π€ Contributing
Contributions are welcome! This project follows standard open source practices.
How to Contribute
- Fork the repository
- Clone your fork:
git clone https://github.com/yourusername/mcp-model-radar.git - Create a branch:
git checkout -b feature/your-feature - Make changes and test thoroughly
- Commit:
git commit -m "Add: your feature description" - Push:
git push origin feature/your-feature - Open a Pull Request with a clear description
Development Guidelines
- Write TypeScript with strict type checking
- Follow existing code style (2 spaces, semicolons)
- Add tests for new features
- Update documentation for user-facing changes
- Use meaningful commit messages
Code of Conduct
- Be respectful and inclusive
- Focus on constructive feedback
- Help newcomers learn and contribute
- Report issues with clear reproduction steps
Areas for Contribution
- π New data sources (Arena, GitHub, Reddit)
- π§ Additional MCP tools
- π Enhanced analytics and scoring
- π Bug fixes and optimizations
- π Documentation improvements
- π Translations
πΊοΈ Roadmap
β V1.0 (Completed)
- HuggingFace data collection
- OpenRouter pricing integration
- 5 core MCP tools
- SQLite support (zero-config)
- PostgreSQL support (production)
- Trend score calculation
- Database abstraction layer
π V2.0 (Planned)
- LMSYS Arena integration (ELO ratings)
- GitHub trending/stars tracking
- Reddit community sentiment analysis
- Enhanced trend algorithm (4 factors)
- Model recommendation engine
- Dark horse detection (unexpectedly surging models)
- Weekly/monthly trend reports
π V3.0 (Future)
- AI analysis agent (automated insights)
- Predictive modeling (which models will trend)
- Ecosystem analysis (base models + derivatives)
- Agent-specific recommendations
- Multi-language model support
- Real-time WebSocket updates
π License
ISC License - See LICENSE file for details.
π Acknowledgments
- Model Context Protocol - MCP SDK and protocol specification
- HuggingFace - Model metadata and community data
- OpenRouter - Pricing and availability data
- Anthropic - Claude Desktop integration
π Support
- π Bug Reports: Open an issue
- π‘ Feature Requests: Open an issue
- π¬ Discussions: GitHub Discussions
- π§ Email: your-email@example.com
Made with β€οΈ by the AI Model Intelligence community
β Star this repo if you find it useful!