
any-chat-completions-mcp
by pyroprompts·★ 151·Score 42
MCP server that integrates any OpenAI-compatible API with Claude as a tool for multi-LLM interactions.
Overview
any-chat-completions-mcp is a TypeScript-based MCP server that enables Claude to interact with various LLM providers through a unified chat tool interface. It supports OpenAI, Perplexity, Groq, xAI, PyroPrompts and any other API compatible with the OpenAI SDK. The server exposes a single 'chat' tool that forwards user queries to configured AI providers, allowing seamless integration of multiple LLM capabilities into Claude's environment.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need to integrate Claude with specific OpenAI-compatible LLM APIs not directly supported by Claude, or when you want to use multiple LLM providers within a single Claude session.
When NOT to choose this
Don't choose this if you need specialized features beyond basic chat completion, or if you require non-OpenAI-compatible API endpoints with different request/response formats.
Tools this server exposes
1 tool extracted from the READMEchatRelays a question to a configured AI Chat Provider
Comparable tools
Installation
Installation
To add this MCP server to Claude Desktop, add the following configuration to your Claude Desktop config file:
**On MacOS:** ~/Library/Application Support/Claude/claude_desktop_config.json
**On Windows:** %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"chat-provider-name": {
"command": "npx",
"args": [
"@pyroprompts/any-chat-completions-mcp"
],
"env": {
"AI_CHAT_KEY": "YOUR_API_KEY",
"AI_CHAT_NAME": "ProviderName",
"AI_CHAT_MODEL": "model-name",
"AI_CHAT_BASE_URL": "https://api.example.com/v1"
}
}
}
}You can add multiple providers by referencing the same MCP server multiple times with different environment variables.
FAQ
- What providers are supported?
- Any provider with an OpenAI-compatible API, including OpenAI, Perplexity, Groq, xAI, PyroPrompts, and others.
- Can I use multiple providers simultaneously?
- Yes, you can configure multiple instances of the same MCP server with different provider settings in your Claude Desktop configuration.
Compare any-chat-completions-mcp with
Last updated · Auto-generated from public README + GitHub signals.