SuperAPI AI Directory

any-chat-completions-mcp

any-chat-completions-mcp is a TypeScript-based Model Context Protocol (MCP) server used to integrate any Chat Completions API compatible with the OpenAI SDK into Claude, allowing Claude to call other large language models as tools. It provides a tool named chat, which can forward questions to a configured AI chat provider, supporting OpenAI, Perplexity, Groq, xAI, PyroPrompts, and others. Users can configure Claude Desktop via npx or by cloning the repository and building it, can also configure it in LibreChat, and can install it automatically via Smithery. This tool is suitable for scenarios that require calling multiple external LLMs within Claude.

Open website

About this tool

any-chat-completions-mcp is an MCP server used to integrate Claude with any Chat Completion API compatible with the OpenAI SDK, including OpenAI, Perplexity, Groq, xAI, PyroPrompts, and others. It implements a Model Context Protocol Server, and the project is based on TypeScript.

Purpose: To connect any Chat Completions API compatible with the OpenAI SDK to Claude, allowing Claude to use other LLMs as tools.

Main capabilities: This server has only one tool, chat, used to forward questions to a configured AI Chat Provider. Users can add multiple providers by referencing the same MCP server multiple times in the Claude Desktop configuration but using different environment variable parameters; after configuring multiple providers, the Claude Desktop homepage will display one tool for each provider. It can also be configured for use in LibreChat.

Usage: Dependencies need to be installed first and the server built; during development, automatic rebuild can be used. When adding OpenAI to Claude Desktop, a server configuration needs to be added; the configuration file location is ~/Library/Application Support/Claude/claude_desktop_config.json on MacOS and %APPDATA%/Claude/claude_desktop_config.json on Windows. It can be used in the Claude Desktop configuration via npx, or by cloning the repository, building it, and configuring it for use. It can also be automatically installed via Smithery as "Any OpenAI Compatible API Integrations for Claude Desktop".

Debugging and limitations: Because the MCP server communicates via stdio, debugging can be challenging. MCP Inspector is recommended; it is provided as a package script, and the Inspector will provide a URL so you can access the debugging tools in a browser.

Use cases: Suitable for users who want tocall other LLMs within Claude and integrate multiple chat completion providers compatible with the OpenAI SDK; it is also suitable for LibreChat users.

Note: The materials do not provide more information such as specific supported platforms, fees, pricing, or effectiveness.