Chain of Draft (CoD) MCP ServerServer

stat-guy
GitHub
autonomous agentsdeveloper toolssearch

Loading subscription status...

💡 Description

This MCP server implements the Chain of Draft (CoD) reasoning approach, which allows LLMs to generate minimalist but informative intermediate reasoning outcomes while solving tasks, significantly reducing token usage while maintaining accuracy.

📝 JSON Entries

{
  "mcpServers": [
    {
      "chain-of-draft": {
        "env": {
          "ANTHROPIC_API_KEY": "your_api_key_here"
        },
        "args": [
          "/absolute/path/to/cod/server.py"
        ],
        "command": "python3"
      }
    },
    {
      "chain-of-draft": {
        "env": {
          "ANTHROPIC_API_KEY": "your_api_key_here"
        },
        "args": [
          "/absolute/path/to/cod/index.js"
        ],
        "command": "node"
      }
    }
  ]
}

🛠️ Tools

chain_of_draft_solvemath_solvecode_solvelogic_solveget_performance_statsget_token_reductionanalyze_problem_complexity

Features

  • Reduced token usage
  • Faster responses
  • Cost savings on API calls
  • Maintained accuracy
  • Flexibility across various reasoning tasks

💬 Example Queries

  • Solve: 247 + 394 = ? in math
  • Get performance stats from CoD vs. CoT