Back to MCP Servers
🔌

pyroprompts/any-chat-completions-mcp

MITAPI key required

Chat with any other OpenAI SDK Compatible Chat Completions API, like Perplexity, Groq, xAI and more

JavaScriptAPIs

Install

npx -y args

Required environment variables

AI_CHAT_KEYSet in your MCP config
OPENAI_KEYSet in your MCP config
PYROPROMPTS_KEYSet in your MCP config
PERPLEXITY_KEYSet in your MCP config

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "pyroprompts-any-chat-completions-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "args"
      ],
      "env": {
        "AI_CHAT_KEY": "<YOUR_AI_CHAT_KEY>",
        "OPENAI_KEY": "<YOUR_OPENAI_KEY>",
        "PYROPROMPTS_KEY": "<YOUR_PYROPROMPTS_KEY>",
        "PERPLEXITY_KEY": "<YOUR_PERPLEXITY_KEY>"
      }
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.

What this does

pyroprompts/any-chat-completions-mcp exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation. That makes it useful when you want Claude to reach into external HTTP APIs without copy-pasting context every turn.

Requirements

This server needs the following environment variables to be set before it can run:

AI_CHAT_KEY
OPENAI_KEY
PYROPROMPTS_KEY
PERPLEXITY_KEY

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Common use cases

  • Call REST or GraphQL endpoints against an authenticated upstream service
  • Translate between Claude's natural-language requests and a structured API
  • Compose several API calls in a single Claude turn (read user → fetch order → annotate)