DeepMyst MCP Server
About
An MCP server that allow you to talk to DeepMyst and perform collaboration between LLMs using our Gateway, Router and Token Optimization
Details
- License
- MIT
Explore
- Token Optimization - Reduce token usage by up to 75% while preserving response quality, directly lowering your API costs
- Smart Model Routing - Automatically select the optimal LLM for each specific query based on task requirements
- Combined Capabilities - Use both optimization and routing together for maximum efficiency
- Multiple Transport Support - Connect via STDIO (for Claude Desktop) or SSE (for HTTP clients)
- Client-provided API Keys - No need to store your DeepMyst API key on the server
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
DeepMyst MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Python 3.8 or higher
- UV - Fast Python package installer
- Claude Desktop - Latest version (or another MCP client)
- DeepMyst API key (get one from platform.deepmyst.com)
1. Clone or download the DeepMyst MCP Server code:
uv venv
source .venv/bin/activate # On macOS/Linux
uv pip install mcp openai aiohttp uvicorn starlette
For Claude Desktop (STDIO Transport):
python deepmyst_mcp.py --stdio
1. Open your Claude Desktop configuration file:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
2. Add the DeepMyst MCP server configuration:
json{
"mcpServers": {
"deepmyst": {
"command": "python",
"args": [
"/path/to/deepmyst_mcp.py",
"--stdio"
]
}
}
}
```
3. Save the file and restart Claude Desktop
The DeepMyst MCP server provides several powerful tools:
1. Get Best Model for Query
Analyzes your query and recommends the optimal model.
Prompt: What's the best model for writing a poem about quantum physics?
Parameters:
- api_key: your-deepmyst-api-key
2. Optimized Completion
Generates a response with token optimization to reduce costs.
Prompt: Use optimized_completion to explain quantum entanglement, with these parameters:
- api_key: your-deepmyst-api-key
- model: gpt-4o
- temperature: 0.7
3. Auto-Routed Completion
Generates a response using the DeepMyst router to select the best model.
Prompt: Use auto_routed_completion to generate a Python function with these parameters:
- api_key: your-deepmyst-api-key
- base_model: gpt-4o-mini
4. Smart Completion
Combines routing and optimization - first determines the best model for your query, then optionally applies token optimization.
Prompt: Use smart_completion to explain how blockchain works, with these parameters:
- api_key: your-deepmyst-api-key
- optimize: true
5. DeepMyst Completion
The most flexible tool with all options configurable.
Prompt: Use deepmyst_completion to summarize this article, with these parameters:
- api_key: your-deepmyst-api-key
- base_model: gpt-4o
- optimize: true
- auto_route: false
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"deepmyst mcp server": {
"DeepMyst-MCP": {
"command": "uv",
"args": [
"venv"
]
}
}
}
}
McpServers
{
"DeepMyst-MCP": {
"command": "uv",
"args": [
"venv"
]
}
}

Overview
DeepMyst MCP Server creates a seamless bridge between DeepMyst and Claude Desktop or any client through the Model Context Protocol (MCP). This integration allows Claude and other clients to harness DeepMyst's powerful optimization and routing capabilities while maintaining your familiar workflows.
Key Features
- Token Optimization - Reduce token usage by up to 75% while preserving response quality, directly lowering your API costs
- Smart Model Routing - Automatically select the optimal LLM for each specific query based on task requirements
- Combined Capabilities - Use both optimization and routing together for maximum efficiency
- Multiple Transport Support - Connect via STDIO (for Claude Desktop) or SSE (for HTTP clients)
- Client-provided API Keys - No need to store your DeepMyst API key on the server
How It Works
- Token Optimization: DeepMyst identifies redundancies in prompts, intelligently compresses content, preserves key information, and maintains contextual meaning—all while significantly reducing token usage without sacrificing quality.
- Smart Routing: The system analyzes each query's category, complexity level, and required capabilities. It evaluates available models based on performance benchmarks, token cost, response latency, and capability support through a weighted scoring system.
Installation
Prerequisites
- Python 3.8 or higher
- UV - Fast Python package installer
- Claude Desktop - Latest version (or another MCP client)
- DeepMyst API key (get one from platform.deepmyst.com)
Installation Steps
1. Clone or download the DeepMyst MCP Server code:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



