MCP.so
Sign In

any-chat-completions-mcp MCP Server

@pyroprompts

About any-chat-completions-mcp MCP Server

MCP Server for using any LLM as a Tool

Basic information

Category

AI & Agents

License

MIT

Runtime

node

Transports

stdio

Publisher

pyroprompts

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "any-chat-completions-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "any-chat-completions-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is any-chat-completions-mcp?

any-chat-completions-mcp is a TypeScript-based MCP server that integrates Claude with any OpenAI SDK compatible chat completion API. It provides a single tool, chat, that relays a question to a configured AI chat provider. It is intended for users who want to use Claude with various providers like OpenAI, Perplexity, Groq, xAI, and PyroPrompts.

How to use any-chat-completions-mcp?

Configure the server in Claude Desktop (or other MCP client) by adding a server entry with environment variables: AI_CHAT_KEY, AI_CHAT_NAME, AI_CHAT_MODEL, and AI_CHAT_BASE_URL. Run via npx (@pyroprompts/any-chat-completions-mcp) or from a local build. Multiple providers can be added by repeating the server configuration with different environment values.

Key features of any-chat-completions-mcp

  • Single chat tool for AI queries.
  • Compatible with any OpenAI SDK chat completion API.
  • Supports multiple providers via repeated configurations.
  • Environment-based configuration (key, name, model, base URL).
  • Works with Claude Desktop, LibreChat, and other MCP clients.
  • Installable via npx, local build, or Smithery.

Use cases of any-chat-completions-mcp

  • Chat with different LLM providers directly from Claude Desktop.
  • Use multiple AI services (e.g., OpenAI, Perplexity) side by side.
  • Integrate custom or hosted OpenAI-compatible APIs.
  • Switch between models and providers without changing tools.
  • Embed AI chat capabilities in LibreChat or similar platforms.

FAQ from any-chat-completions-mcp

Which API providers are supported?

Any AI service that offers an OpenAI SDK compatible chat completion API—examples include OpenAI, Perplexity, Groq, xAI, and PyroPrompts.

How do I add more than one provider?

Reference the same MCP server multiple times in your configuration, each with a unique server name and different environment variables for key, name, model, and base URL.

How can I install the server?

You can install it via npx using @pyroprompts/any-chat-completions-mcp, clone and build the repository, or use Smithery with the command npx -y @smithery/cli install any-chat-completions-mcp-server --client claude.

Does the server require additional runtime dependencies?

It is a Node.js TypeScript project. You need Node.js installed. Dependencies are installed via npm install when building locally.

Comments

More AI & Agents MCP servers