TwoSplit
About
Leverages multiple Claude instances to compare and combine responses, delivering optimized answers by selecting the best output or merging insights from parallel AI processing.
Details
- Author
- lazerthings
- Repository
- LazerThings/twosplit
- Categories
- AI, Developer Tools, Search, Infrastructure
Jump to
- 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
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
TwoSplitCommand (node, npx, python, etc.)npxArguments-
Argument 1
-y -
Argument 2
@highlight/mcp-server
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
The server provides a single tool called twosplit with the following parameters:
- prompt (required): The prompt to send to Claude
- model (required): The Claude model to use (must be one of the supported models listed above)
Example tool usage in Claude:
<use_mcp_tool>
<server_name>twosplit</server_name>
<tool_name>twosplit</tool_name>
<arguments>
{
"prompt": "Write a short story about a robot learning to paint",
"model": "claude-3-5-sonnet-latest"
}
</arguments>
</use_mcp_tool>
The response will include:
1. The final optimized response
2. Original responses from both AIs
3. Source attribution showing which parts came from which AI
twosplit
Send a prompt to a specified Claude model and receive an optimized response. Parameters: prompt (string, required), model (string, required)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"twosplit": {
"env": {},
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
}
}
Linux
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Macos
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Windows
{
"env": [],
"args": [
"/c",
"npx",
"-y",
"@highlight/mcp-server"
],
"command": "cmd"
}
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
1. Clone the repository
2. Install dependencies:
npm install
3. Build the server:
npm run build
Configuration
The server requires an Anthropic API key to function. Set it as an environment variable:
export ANTHROPIC_API_KEY=your-api-key-here
Usage
The server provides a single tool called twosplit with the following parameters:
- prompt (required): The prompt to send to Claude
- model (required): The Claude model to use (must be one of the supported models listed above)
Example tool usage in Claude:
<use_mcp_tool>
<server_name>twosplit</server_name>
<tool_name>twosplit</tool_name>
<arguments>
{
"prompt": "Write a short story about a robot learning to paint",
"model": "claude-3-5-sonnet-latest"
}
</arguments>
</use_mcp_tool>
The response will include:
1. The final optimized response
2. Original responses from both AIs
3. Source attribution showing which parts came from which AI
How it Works
1. The server sends the same prompt to two separate instances of the specified Claude model, requesting a single direct response
2. 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
3. The final response, original responses, and source attribution are all included in the output
Development
To run the server in watch mode during development:
npm run watch
To inspect the server's capabilities:
```bash
npm run inspector
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




