The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Any Chat Completions MCP listing page.
Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.
This implements the Model Context Protocol Server. Learn more: https://modelcontextprotocol.io
This is a TypeScript-based MCP server that implements an implementation into any OpenAI SDK Compatible Chat Completions API.
It has one tool, chat which relays a question to a configured AI Chat Provider.
Install dependencies:
Build the server:
For development with auto-rebuild:
To add OpenAI to Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
You can use it via npx in your Claude Desktop configuration like this:
Or, if you clone the repo, you can build and use in your Claude Desktop configuration like this:
You can add multiple providers by referencing the same MCP server multiple times, but with different env arguments:
With these three, you'll see a tool for each in the Claude Desktop Home:

And then you can chat with other LLMs and it shows in chat like this:

Or, configure in LibreChat like:
And it shows in LibreChat:

To install Any OpenAI Compatible API Integrations for Claude Desktop automatically via Smithery:
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
The Inspector will provide a URL to access debugging tools in your browser.
CLAUDEANYCHAT for 20 free automation credits on Pyroprompts.