Chain of Draft (CoD) MCP Server
Chain of Draft (CoD) MCP Server: An MCP server implementation of the Chain of Draft reasoning approach for more efficient LLM reasoning.
Overview
Chain of Draft (CoD) is an MCP server implementation that utilizes a novel reasoning approach to enhance the efficiency of large language models (LLMs) by generating concise and informative intermediate reasoning outputs, thereby reducing token usage while maintaining accuracy.
To use CoD, clone the repository, install the necessary dependencies, configure your API keys, and run the server. You can also integrate it with Claude Desktop or use it directly in your Python or JavaScript applications.
- Efficient token usage (as low as 7.6% of standard CoT) - Faster response times due to shorter generation - Cost savings on API calls - Maintained or improved accuracy compared to traditional methods - Flexibility across various reasoning tasks and domains - Comprehensive performance analytics and adaptive word limits
- Solving complex math problems with minimal token usage.
- Enhancing coding problem-solving efficiency.
- Providing quick logical reasoning outputs.
- Analyzing performance metrics for different reasoning approaches.
Add to your AI client
Use these steps to connect Chain of Draft (CoD) MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"chain-of-draft-stat-guy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chain-of-draft-stat-guy"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"chain-of-draft-stat-guy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chain-of-draft-stat-guy"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"chain-of-draft-stat-guy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chain-of-draft-stat-guy"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"chain-of-draft-stat-guy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chain-of-draft-stat-guy"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"chain-of-draft-stat-guy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chain-of-draft-stat-guy"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"chain-of-draft-stat-guy": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chain-of-draft-stat-guy"
]
}
}
}