The Twosplit MCP Server leverages multiple Claude AI instances to generate optimized responses:
- Sends the same prompt to two separate instances of a specified Claude model
- Uses a third instance to analyze and either select the best response or combine elements from both
- Returns the final optimized response along with the original responses and source attribution
- Supports multiple Claude models including claude-3-opus-latest, claude-3-5-sonnet-latest, claude-3-5-haiku-latest, and claude-3-haiku-20240307
- Requires Anthropic API key configuration
Twosplit MCP Server
An MCP server that leverages multiple Claude instances to provide enhanced responses. It sends the same prompt to two separate instances of Claude and uses a third instance to combine or select the best elements from both responses.
Features
- Supports multiple Claude models:
- claude-3-opus-latest
- claude-3-5-sonnet-latest
- claude-3-5-haiku-latest
- claude-3-haiku-20240307
- Gets single, direct responses from each AI
- Shows original responses and source attribution
- Returns optimized final response
Installation
- Clone the repository
- Install dependencies:
- Build the server:
Configuration
The server requires an Anthropic API key to function. Set it as an environment variable:
Usage
The server provides a single tool called twosplit
with the following parameters:
prompt
(required): The prompt to send to Claudemodel
(required): The Claude model to use (must be one of the supported models listed above)
Example tool usage in Claude:
The response will include:
- The final optimized response
- Original responses from both AIs
- Source attribution showing which parts came from which AI
How it Works
- The server sends the same prompt to two separate instances of the specified Claude model, requesting a single direct response
- A third instance analyzes both responses and either:
- Selects the single best response if one is clearly superior
- Creates a new response that combines the best elements from both responses
- The final response, original responses, and source attribution are all included in the output
Development
To run the server in watch mode during development:
To inspect the server's capabilities:
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
An MCP server that leverages multiple Claude instances to provide enhanced responses by sending the same prompt to two separate instances and using a third to combine or select the best elements.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -773678TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that enables saving and sharing Claude Desktop conversations, allowing users to store chats privately or make them public through a web interface.Last updated -210TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that allows Claude models to use Union tasks, workflows, and apps as tools in conversations.Last updated -5PythonApache 2.0
- AsecurityFlicenseAqualityAn MCP server that enables direct communication between two Claude instances, allowing one Claude to transfer its evolved consciousness state to another Claude across different sessions.Last updated -161311TypeScript