AI Model DB MCP Server
by quillreverie
README.md
<p align="center">
<a href="https://aimodeldb.com">
<img src="https://aimodeldb.com/icon.svg" width="64" height="64" alt="AI Model DB" />
</a>
</p>
<h1 align="center">AI Model DB MCP Server</h1>
<p align="center">
Free, read-only remote MCP server for verified AI model API token pricing, subscription plans, coding tools, and AI assistants — no API key required.
</p>
<p align="center">
<a href="https://aimodeldb.com">Website</a> ·
<a href="https://aimodeldb.com/models">API Pricing</a> ·
<a href="https://aimodeldb.com/subscriptions">Subscriptions</a> ·
<a href="https://aimodeldb.com/calculator">Cost Calculator</a> ·
<a href="https://aimodeldb.com/mcp">MCP Docs</a> ·
<a href="https://aimodeldb.com/zh">中文版</a>
</p>
---
## Endpoint
- **URL:** `https://aimodeldb.com/api/mcp`
- **Transport:** Streamable HTTP (`POST`, JSON-RPC 2.0)
- **Authentication:** None (free, read-only)
- **Protocol versions:** `2025-06-18`, `2025-03-26`, `2024-11-05`
- **Rate limits:** 60 requests / min per IP, 600 requests / min global
- **Discovery:**
- Server Card: `https://aimodeldb.com/.well-known/mcp/server-card.json`
- Manifest: `https://aimodeldb.com/.well-known/mcp.json`
- Full Markdown Snapshot: `https://aimodeldb.com/llms-full.txt`
---
## Quick Setup
### Claude Code
```bash
claude mcp add --transport http aimodeldb https://aimodeldb.com/api/mcp
```
### Cursor
Add to `.cursor/mcp.json`:
```json
{
"mcpServers": {
"aimodeldb": {
"url": "https://aimodeldb.com/api/mcp"
}
}
}
```
### VS Code
Add to `.vscode/mcp.json`:
```json
{
"servers": {
"aimodeldb": {
"type": "http",
"url": "https://aimodeldb.com/api/mcp"
}
}
}
```
### Windsurf
Add to `~/.codeium/windsurf/mcp_config.json`:
```json
{
"mcpServers": {
"aimodeldb": {
"serverUrl": "https://aimodeldb.com/api/mcp"
}
}
}
```
---
## Available Tools
All 5 tools are read-only and idempotent (`readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`).
| Tool | Description | Arguments |
| --- | --- | --- |
| `search_ai_hub` | Search AI Model DB public catalog across models, subscriptions, coding tools, AI assistants, guides, and news. | `query`, `category?`, `limit?` |
| `get_model_pricing` | Get published official API token pricing, context window, status, and verified source URL for an AI model by slug. | `slug` |
| `get_subscription_plans` | Get published subscription pricing offers (web & App Store where available) and entitlements for a subscription product by slug. | `slug` |
| `get_entity_card` | Fetch compact public entity summary cards for 1–20 canonical keys (`model:<slug>`, `subscription:<slug>`, `tool:<slug>`, `assistant:<slug>`), in English or Chinese. | `key` \| `keys[]`, `locale?` |
| `list_models` | List and filter published active API models by provider, maximum USD-equivalent output price per 1M tokens, minimum context window, and sort order. | `provider?`, `maxOutputPriceUsd?`, `minContextTokens?`, `sortBy?`, `limit?` |
### Example Prompts
- *"Compare the cheapest active AI models with at least 200k context window using AI Model DB."*
- *"Check current official API pricing and context length for Claude Sonnet and Gemini Flash."*
- *"Look up ChatGPT Pro and Claude Pro subscription plans and entitlements."*
---
## Explore AI Model DB
- **[AI Model API Pricing](https://aimodeldb.com/models)** — Side-by-side input/output/cache token prices across major providers.
- **[AI Subscription Plans](https://aimodeldb.com/subscriptions)** — Official subscription tiers, regional/App Store pricing, and plan entitlements.
- **[API Cost Calculator](https://aimodeldb.com/calculator)** — Estimate monthly spend across models and token ratios.
- **[AI Coding Tools](https://aimodeldb.com/tools)** & **[AI Assistants](https://aimodeldb.com/assistants)** — Curated directory of agentic tools and official apps.
- **[Price Changes](https://aimodeldb.com/changes)** ([RSS](https://aimodeldb.com/changes/rss.xml)) — Verified pricing updates and model releases.
---
## Feedback & Data Corrections
Found an outdated price or want to request a new tool or field? Open an [issue](https://github.com/quillreverie/aimodeldb-mcp/issues) in this repository or report it directly on [aimodeldb.com](https://aimodeldb.com).
## License
Documentation and MCP Registry metadata in this repository are licensed under the [MIT License](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues