pyroprompts/any-chat-completions-mcp
Free与任何其他 OpenAI SDK 兼容的聊天完成 API 聊天,如 Perplexity, Groq, xAI 等。
About pyroprompts/any-chat-completions-mcp
Any Chat Completions MCP is a TypeScript-based Model Context Protocol (MCP) server that enables Claude (or any MCP client) to interact with any OpenAI SDK-compatible chat completion API. It provides a single tool called 'chat' which relays a user's question to a configured AI provider and returns the response. The server is highly configurable via environment variables (AI_CHAT_KEY, AI_CHAT_NAME, AI_CHAT_MODEL, AI_CHAT_BASE_URL), allowing users to switch between providers such as OpenAI, Perplexity, Groq, xAI, and PyroPrompts. Multiple providers can be added by defining separate MCP server entries with different environment variables, making it easy to query different LLMs from the same client. The server can be installed via npx or built from source, and it integrates seamlessly with Claude Desktop and LibreChat.
Key Features
Pros & Cons
- Compatible with many providers (OpenAI, Perplexity, Groq, xAI, PyroPrompts)
- Easy to configure and switch between providers using environment variables
- Open source and free to use
- Lightweight and simple – only one tool for chat completions
- Requires manual setup of environment variables and API keys
- Only provides a single 'chat' tool, no additional capabilities like image generation or streaming (not mentioned)
- Depends on external API keys and services
- No built-in user interface – requires an MCP client like Claude Desktop