Back to MCP Catalog

Unichat MCP Server

Developer ToolsPython
Send requests to multiple AI providers using a unified interface
Available Tools

unichat

Send a request to the configured AI provider

messages

Unichat provides a unified interface to interact with multiple AI providers including OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba, and Inception. This MCP server allows you to send requests to these providers using either a general-purpose tool or predefined prompts for common code-related tasks. The server requires API keys for the respective providers to function.

Overview

Unichat MCP Server provides a unified interface to interact with multiple AI providers through the Model Context Protocol. It supports sending requests to OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba, and Inception using a single consistent interface.

Installation

For Claude Desktop

You can install Unichat MCP Server in two ways:

Option 1: Manual Installation

  1. Add the following configuration to your Claude Desktop config file:
    • On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
  "unichat-mcp-server": {
    "command": "uvx",
    "args": [
      "unichat-mcp-server"
    ],
    "env": {
      "UNICHAT_MODEL": "SELECTED_UNICHAT_MODEL",
      "UNICHAT_API_KEY": "YOUR_UNICHAT_API_KEY"
    }
  }
}

Option 2: Using Smithery

For automatic installation via Smithery:

npx -y @smithery/cli install unichat-mcp-server --client claude

Configuration

You need to configure the following environment variables:

  • UNICHAT_MODEL: The model you want to use. A list of supported models can be found in the unichat models.py file.
  • UNICHAT_API_KEY: Your API key for the selected model's provider.

Example configuration for using OpenAI's GPT-4o-mini:

"env": {
  "UNICHAT_MODEL": "gpt-4o-mini",
  "UNICHAT_API_KEY": "YOUR_OPENAI_API_KEY"
}

Usage

Once installed, you can use Unichat through:

  1. The general-purpose unichat tool for sending any messages to the configured AI provider
  2. Predefined prompts for common code-related tasks

Debugging

For debugging issues with the MCP server, you can use the MCP Inspector:

npx @modelcontextprotocol/inspector uv --directory PATH_TO_YOUR_PROJECT_DIRECTORY/unichat-mcp-server run unichat-mcp-server

This will display a URL you can access in your browser to begin debugging.

Related MCPs

Apple Shortcuts
Developer ToolsJavaScript

Control Apple Shortcuts automations from AI assistants

Clojars Dependency Lookup
Developer ToolsJavaScript

Fetch dependency information from Clojars, the Clojure community's artifact repository

Simple Timeserver
Developer ToolsPython

Provides Claude with current time and timezone information

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.