📇 🏠 - Cross-LLM communication and memory sharing so different AI models can collaborate and share context…
🤖 Cross-LLM MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> **Access multiple LLM APIs from one place.** Call ChatGPT, Claude, DeepSeek, Gemini, Grok, Kimi, Perplexity, Mistral, and Hugging Face Inference Router with intelligent model selection, preferences, and prompt logging.
An MCP (Model Context Protocol) server that provides unified access to multiple Large Language Model APIs for AI coding environments like Cursor and Claude Desktop.
Why Use Cross-LLM MCP?
- 🌐 **9 LLM Providers** – ChatGPT, Claude, DeepSeek, Gemini, Grok, Kimi, Perplexity, Mistral, Hugging Face
- 🎯 **Smart Model Selection** – Tag-based preferences (coding, business, reasoning, math, creative, general)
- 📊 **Prompt Logging** – Track all prompts with history, statistics, and analytics
- 💰 **Cost Optimization** – Choose flagship or cheaper models based on preference
- ⚡ **Easy Setup** – One-click install in Cursor or simple manual setup
- 🔄 **Call All LLMs** – Get responses from all providers simultaneously
Quick Start
Ready to access multiple LLMs? Install in seconds:
**Install in Cursor (Recommended):**
🔗 Install in Cursor
**Or install manually:**
Features
🤖 Individual LLM Tools
- **call-chatgpt** – OpenAI's ChatGPT API
- **call-claude** – Anthropic's Claude API
- **call-deepseek** – DeepSeek API
- **call-gemini** – Google's Gemini API
- **call-grok** – xAI's Grok API
- **call-kimi** – Moonshot AI's Kimi API
- **call-perplexity** – Perplexity AI API
- **call-mistral** – Mistral AI API
- **call-huggingface** – Hugging Face Inference Router (OpenAI-compatible Hub models)
🔄 Combined Tools
- **call-all-llms** – Call all LLMs with the same prompt
- **call-llm** – Call a specific provider by name
⚙️ Preferences & Model Selection
- **get-user-preferences** – Get current preferences
- **set-user-preferences** – Set default model, cost preference, and tag-based preferences
- **get-models-by-tag** – Find models by tag (coding, business, reasoning, math, creative, general)
📝 Prompt Logging
- **get-prompt-history** – View prompt history with filters
- **get-prompt-stats** – Get statistics about prompt logs
- **delete-prompt-entries** – Delete log entries by criteria
- **clear-prompt-history** – Clear all prompt logs
Installation
Cursor (One-Click)
Click the install link above or use:
After installation, add your API keys in Cursor settings (see Configuration below).
Manual Installation
**Requirements:** Node.js 18+ and npm
Claude Desktop
Add to claude_desktop_config.json:
**macOS**: ~/Library/Application Support/Claude/claude_desktop_config.json
**Windows**: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after configuration.
Configuration
API Keys
Set environment variables for the LLM providers you want to use:
Getting API Keys
- **OpenAI**: https://platform.openai.com/api-keys
- **Anthropic**: https://console.anthropic.com/
- **DeepSeek**: https://platform.deepseek.com/
- **Google Gemini**: https://makersuite.google.com/app/apikey
- **xAI Grok**: https://console.x.ai/
- **Moonshot AI**: https://platform.moonshot.ai/
- **Perplexity**: https://www.perplexity.ai/hub
- **Mistral**: https://console.mistral.ai/
- **Hugging Face**: Create a fine-grained token with **Inference** (serverless / Inference Providers) access at https://huggingface.co/settings/tokens. See Chat Completion for supported models.