Labsco
JamesANZ logo

cross-llm-mcp

โ˜… 15

from JamesANZ

A Model Context Protocol (MCP) server that provides access to multiple Large Language Model (LLM) APIs including ChatGPT, Claude, Gemini, and DeepSeek.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

๐Ÿค– Cross-LLM MCP Server

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.

Trust Score

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

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

Model Tags

Models are tagged by their strengths:

  • coding: deepseek-r1, deepseek-coder, gpt-4o, claude-3.5-sonnet-20241022
  • business: claude-3-opus-20240229, gpt-4o, gemini-1.5-pro
  • reasoning: deepseek-r1, o1-preview, claude-3.5-sonnet-20241022
  • math: deepseek-r1, o1-preview, o1-mini
  • creative: gpt-4o, claude-3-opus-20240229, gemini-1.5-pro
  • general: gpt-4o-mini, claude-3-haiku-20240307, gemini-1.5-flash

Use Cases

  • Multi-Perspective Analysis โ€“ Get different perspectives from multiple LLMs
  • Model Comparison โ€“ Compare responses to understand strengths and weaknesses
  • Cost Optimization โ€“ Choose the most cost-effective model for each task
  • Quality Assurance โ€“ Cross-reference responses from multiple models
  • Intelligent Selection โ€“ Automatically use the best model for coding, business, reasoning, etc.
  • Prompt Analytics โ€“ Track usage, costs, and patterns with automatic logging

Technical Details

Built with: Node.js, TypeScript, MCP SDK
Dependencies: @modelcontextprotocol/sdk, superagent, zod
Platforms: macOS, Windows, Linux

Preference Storage:

  • Unix/macOS: ~/.cross-llm-mcp/preferences.json
  • Windows: %APPDATA%/cross-llm-mcp/preferences.json

Prompt Log Storage:

  • Unix/macOS: ~/.cross-llm-mcp/prompts.json
  • Windows: %APPDATA%/cross-llm-mcp/prompts.json

Support

If you find this project useful, consider supporting it:

โšก Lightning Network

lnbc1pjhhsqepp5mjgwnvg0z53shm22hfe9us289lnaqkwv8rn2s0rtekg5vvj56xnqdqqcqzzsxqyz5vqsp5gu6vh9hyp94c7t3tkpqrp2r059t4vrw7ps78a4n0a2u52678c7yq9qyyssq7zcferywka50wcy75skjfrdrk930cuyx24rg55cwfuzxs49rc9c53mpz6zug5y2544pt8y9jflnq0ltlha26ed846jh0y7n4gm8jd3qqaautqa

โ‚ฟ Bitcoin: bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp

ฮž Ethereum/EVM: 0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f