any-chat-completions-mcp
by pyroprompts
Integrate Claude with Any OpenAI SDK Compatible Chat Completion API. This implements the Model Context Protocol Server, allowing you to use providers like OpenAI, Perplexity, Groq, xAI, and PyroPrompts with Claude.
Last updated: N/A
What is any-chat-completions-mcp?
This is a TypeScript-based MCP server that allows you to integrate any OpenAI SDK Compatible Chat Completions API with Claude. It implements the Model Context Protocol, enabling Claude to use other AI chat providers as tools.
How to use any-chat-completions-mcp?
- Install dependencies using
npm install
. 2. Build the server usingnpm run build
. 3. Configure the server in Claude Desktop by adding the server configuration to~/Library/Application Support/Claude/claude_desktop_config.json
(MacOS) or%APPDATA%/Claude/claude_desktop_config.json
(Windows). 4. Add multiple providers by referencing the same MCP server multiple times, but with different environment variables.
Key features of any-chat-completions-mcp
Integrates with any OpenAI SDK Compatible Chat Completion API
Supports multiple AI chat providers
Implements the Model Context Protocol
Easy to configure with Claude Desktop
Includes a 'chat' tool to relay questions to configured AI Chat Providers
Use cases of any-chat-completions-mcp
Using OpenAI models with Claude
Using Perplexity models with Claude
Using Groq models with Claude
Extending Claude's capabilities with specialized AI models
FAQ from any-chat-completions-mcp
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a standard for integrating different AI models and tools.
Which AI providers are supported?
Which AI providers are supported?
Any provider that is OpenAI SDK Compatible Chat Completion API is supported, including OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.
How do I add a new AI provider?
How do I add a new AI provider?
You can add a new provider by configuring a new MCP server with the appropriate environment variables in the Claude Desktop configuration file.
How do I debug the MCP server?
How do I debug the MCP server?
Use the MCP Inspector by running npm run inspector
. This will provide a URL to access debugging tools in your browser.
Where can I find more information about MCP?
Where can I find more information about MCP?
Visit the Model Context Protocol website: https://modelcontextprotocol.io