Brainiall NLP
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
Crawler Summary
MCP Chain of Draft (CoD) Prompt Tool - A Model Context Protocol tool for efficient reasoning $1 MCP Chain of Draft (CoD) Prompt Tool $1 $1 $1 $1 $1 $1 $1 Overview The MCP Chain of Draft (CoD) Prompt Tool is a powerful Model Context Protocol tool that enhances LLM reasoning by transforming standard prompts into either Chain of Draft (CoD) or Chain of Thought (CoT) format. Here's how it works: 1. **Input Transformation**: Your regular prompt is automatically transformed into a CoD/CoT format 2. **LLM Processin Published capability contract available. No trust telemetry is available yet. 18 GitHub stars reported by the source. Last updated 2/24/2026.
Freshness
Last checked 2/22/2026
Best For
Contract is available with explicit auth and schema references.
Not Ideal For
mcp-chain-of-draft-prompt-tool is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.
Evidence Sources Checked
editorial-content, capability-contract, runtime-metrics, public facts pack
MCP Chain of Draft (CoD) Prompt Tool - A Model Context Protocol tool for efficient reasoning $1 MCP Chain of Draft (CoD) Prompt Tool $1 $1 $1 $1 $1 $1 $1 Overview The MCP Chain of Draft (CoD) Prompt Tool is a powerful Model Context Protocol tool that enhances LLM reasoning by transforming standard prompts into either Chain of Draft (CoD) or Chain of Thought (CoT) format. Here's how it works: 1. **Input Transformation**: Your regular prompt is automatically transformed into a CoD/CoT format 2. **LLM Processin
Public facts
7
Change events
1
Artifacts
0
Freshness
Feb 22, 2026
Published capability contract available. No trust telemetry is available yet. 18 GitHub stars reported by the source. Last updated 2/24/2026.
Trust score
Unknown
Compatibility
MCP
Freshness
Feb 22, 2026
Vendor
Brendancopley
Artifacts
0
Benchmarks
0
Last release
1.1.1
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Published capability contract available. No trust telemetry is available yet. 18 GitHub stars reported by the source. Last updated 2/24/2026.
Setup snapshot
git clone https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool.gitSetup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Brendancopley
Protocol compatibility
MCP
Auth modes
mcp, api_key
Machine-readable schemas
OpenAPI or schema references published
Adoption signal
18 GitHub stars
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
6
Snippets
0
Languages
typescript
bash
# For Anthropic Claude export ANTHROPIC_API_KEY=your_key_here # For OpenAI export OPENAI_API_KEY=your_key_here # For Mistral AI export MISTRAL_API_KEY=your_key_here
bash
curl https://ollama.ai/install.sh | sh
bash
# First install Ollama curl https://ollama.ai/install.sh | sh # Pull your preferred model ollama pull llama2 # or ollama pull mistral # or any other model # Configure the tool to use Ollama export MCP_LLM_PROVIDER=ollama export MCP_OLLAMA_MODEL=llama2 # or your chosen model
bash
# Point to your local model API export MCP_LLM_PROVIDER=custom export MCP_CUSTOM_LLM_ENDPOINT=http://localhost:your_port
bash
pip install -r requirements.txt
text
ANTHROPIC_API_KEY=your_api_key_here
Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB MCP
Editorial quality
ready
MCP Chain of Draft (CoD) Prompt Tool - A Model Context Protocol tool for efficient reasoning $1 MCP Chain of Draft (CoD) Prompt Tool $1 $1 $1 $1 $1 $1 $1 Overview The MCP Chain of Draft (CoD) Prompt Tool is a powerful Model Context Protocol tool that enhances LLM reasoning by transforming standard prompts into either Chain of Draft (CoD) or Chain of Thought (CoT) format. Here's how it works: 1. **Input Transformation**: Your regular prompt is automatically transformed into a CoD/CoT format 2. **LLM Processin
The MCP Chain of Draft (CoD) Prompt Tool is a powerful Model Context Protocol tool that enhances LLM reasoning by transforming standard prompts into either Chain of Draft (CoD) or Chain of Thought (CoT) format. Here's how it works:
This approach significantly improves reasoning quality while reducing token usage and maintaining high accuracy.
This tool supports a "Bring Your Own LLM" approach, allowing you to use any language model of your choice:
Cloud Services
# For Anthropic Claude
export ANTHROPIC_API_KEY=your_key_here
# For OpenAI
export OPENAI_API_KEY=your_key_here
# For Mistral AI
export MISTRAL_API_KEY=your_key_here
Local Models with Ollama
# First install Ollama
curl https://ollama.ai/install.sh | sh
# Pull your preferred model
ollama pull llama2
# or
ollama pull mistral
# or any other model
# Configure the tool to use Ollama
export MCP_LLM_PROVIDER=ollama
export MCP_OLLAMA_MODEL=llama2 # or your chosen model
Custom Local Models
# Point to your local model API
export MCP_LLM_PROVIDER=custom
export MCP_CUSTOM_LLM_ENDPOINT=http://localhost:your_port
This project implements the Chain of Draft (CoD) reasoning approach as a Model Context Protocol (MCP) prompt tool for Claude. The core Chain of Draft implementation is based on the work by stat-guy. We extend our gratitude for their pioneering work in developing this efficient reasoning approach.
Original Repository: https://github.com/stat-guy/chain-of-draft
Core Chain of Draft Implementation
Performance Analytics
Adaptive Word Limits
Comprehensive Example Database
Format Enforcement
Hybrid Reasoning Approaches
OpenAI API Compatibility
pip install -r requirements.txt
.env file:
ANTHROPIC_API_KEY=your_api_key_here
python server.py
npm install
.env file:
ANTHROPIC_API_KEY=your_api_key_here
# Build TypeScript files using Nx
npm run nx build
# Start the server
npm start
# For development with auto-reload:
npm run dev
Available scripts:
npm run nx build: Compiles TypeScript to JavaScript using Nx build systemnpm run build:sea: Creates Single Executable Applications for all platformsnpm start: Runs the compiled server from distnpm test: Runs the test query against the servernpm run dev: Runs the TypeScript server directly using ts-node (useful for development)The project uses Nx as its build system, providing:
This project supports building Single Executable Applications (SEA) using Node.js 22+ and the @getlarge/nx-node-sea plugin. This allows you to create standalone executables that don't require Node.js to be installed on the target system.
The project includes several scripts for building SEA executables:
# Build for all platforms
npm run build:sea
# Build for specific platforms
npm run build:macos # macOS
npm run build:linux # Linux
npm run build:windows # Windows
The project uses Nx for managing the build process. The SEA configuration is handled through the nx-node-sea plugin, which provides a streamlined way to create Node.js single executable applications.
Key features of the SEA build process:
Once built, the SEA executables can be found in the dist directory. These executables:
For Claude Desktop integration with SEA executables, update your configuration to use the executable path:
{
"mcpServers": {
"chain-of-draft-prompt-tool": {
"command": "/path/to/mcp-chain-of-draft-prompt-tool",
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}
To integrate with Claude Desktop:
Install Claude Desktop from claude.ai/download
Create or edit the Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the tool configuration (Python version):
{
"mcpServers": {
"chain-of-draft-prompt-tool": {
"command": "python3",
"args": ["/absolute/path/to/cod/server.py"],
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}
Or for the JavaScript version:
{
"mcpServers": {
"chain-of-draft-prompt-tool": {
"command": "node",
"args": ["/absolute/path/to/cod/index.js"],
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}
Restart Claude Desktop
You can also use the Claude CLI to add the tool:
# For Python implementation
claude mcp add chain-of-draft-prompt-tool -e ANTHROPIC_API_KEY="your_api_key_here" "python3 /absolute/path/to/cod/server.py"
# For JavaScript implementation
claude mcp add chain-of-draft-prompt-tool -e ANTHROPIC_API_KEY="your_api_key_here" "node /absolute/path/to/cod/index.js"
Dive is an excellent open-source MCP Host Desktop Application that provides a user-friendly GUI for interacting with MCP tools like this one. It supports multiple LLMs including ChatGPT, Anthropic Claude, Ollama, and other OpenAI-compatible models.
Download and install Dive from their releases page
Configure the Chain of Draft tool in Dive's MCP settings:
{
"mcpServers": {
"chain-of-draft-prompt-tool": {
"command": "/path/to/mcp-chain-of-draft-prompt-tool",
"enabled": true,
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}
If you're using the non-SEA version:
{
"mcpServers": {
"chain-of-draft-prompt-tool": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"enabled": true,
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}
Using Dive provides a convenient way to interact with the Chain of Draft tool through a modern, feature-rich interface while maintaining all the benefits of the MCP protocol.
The project includes integration with the MCP Inspector tool, which provides a visual interface for testing and debugging MCP tools. This is especially useful during development or when you want to inspect the tool's behavior.
You can start the MCP Inspector using the provided npm script:
# Start the MCP Inspector with the tool
npm run test-inspector
# Or run it manually
npx @modelcontextprotocol/inspector -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY -- node dist/index.js
This will:
The MCP Inspector provides:
This makes it an invaluable tool for:
The Inspector will be available at http://localhost:5173 by default.
The Chain of Draft server provides the following tools:
| Tool | Description |
|------|-------------|
| chain_of_draft_solve | Solve a problem using Chain of Draft reasoning |
| math_solve | Solve a math problem with CoD |
| code_solve | Solve a coding problem with CoD |
| logic_solve | Solve a logic problem with CoD |
| get_performance_stats | Get performance stats for CoD vs CoT |
| get_token_reduction | Get token reduction statistics |
| analyze_problem_complexity | Analyze problem complexity |
If you want to use the Chain of Draft client directly in your Python code:
from client import ChainOfDraftClient
# Create client with specific LLM provider
cod_client = ChainOfDraftClient(
llm_provider="ollama", # or "anthropic", "openai", "mistral", "custom"
model_name="llama2" # specify your model
)
# Use directly
result = await cod_client.solve_with_reasoning(
problem="Solve: 247 + 394 = ?",
domain="math"
)
print(f"Answer: {result['final_answer']}")
print(f"Reasoning: {result['reasoning_steps']}")
print(f"Tokens used: {result['token_count']}")
For TypeScript/Node.js applications:
import { ChainOfDraftClient } from './lib/chain-of-draft-client';
// Create client with your preferred LLM
const client = new ChainOfDraftClient({
provider: 'ollama', // or 'anthropic', 'openai', 'mistral', 'custom'
model: 'llama2', // your chosen model
endpoint: 'http://localhost:11434' // for custom endpoints
});
// Use the client
async function solveMathProblem() {
const result = await client.solveWithReasoning({
problem: "Solve: 247 + 394 = ?",
domain: "math",
max_words_per_step: 5
});
console.log(`Answer: ${result.final_answer}`);
console.log(`Reasoning: ${result.reasoning_steps}`);
console.log(`Tokens used: ${result.token_count}`);
}
solveMathProblem();
The server is available in both Python and JavaScript implementations, both consisting of several integrated components:
Both implementations follow the same core principles and provide identical MCP tools, making them interchangeable for most use cases.
This project is open-source and available under the MIT license.
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
ready
Auth
mcp, api_key
Streaming
Yes
Data region
global
Protocol support
Requires: mcp, lang:typescript, streaming
Forbidden: none
Guardrails
Operational confidence: medium
curl -s "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract"
curl -s "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
Agent-callable B2B SaaS directory: capability-structured, continuously verified listings.
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
Structured website and review evidence for AI-assisted local-business shortlisting.
Contract JSON
{
"contractStatus": "ready",
"authModes": [
"mcp",
"api_key"
],
"requires": [
"mcp",
"lang:typescript",
"streaming"
],
"forbidden": [],
"supportsMcp": true,
"supportsA2a": false,
"supportsStreaming": true,
"inputSchemaRef": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool#input",
"outputSchemaRef": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool#output",
"dataRegion": "global",
"contractUpdatedAt": "2026-02-24T19:46:31.517Z",
"sourceUpdatedAt": "2026-02-24T19:46:31.517Z",
"freshnessSeconds": 19653576
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/snapshot",
"contractUrl": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract",
"trustUrl": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/trust"
},
"curlExamples": [
"curl -s \"https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/snapshot\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"MCP"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_MCP",
"generatedAt": "2026-10-10T07:06:08.139Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "MCP",
"type": "protocol",
"support": "supported",
"confidenceSource": "contract",
"notes": "Confirmed by capability contract"
},
{
"key": "mcp",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "chain-of-draft",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "claude",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "reasoning",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "prompt-tool",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "cli",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:MCP|supported|contract capability:mcp|supported|profile capability:chain-of-draft|supported|profile capability:claude|supported|profile capability:reasoning|supported|profile capability:prompt-tool|supported|profile capability:cli|supported|profile"
}Facts JSON
[
{
"factKey": "docs_crawl",
"category": "integration",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "MCP",
"href": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:31.517Z",
"isPublic": true
},
{
"factKey": "auth_modes",
"category": "compatibility",
"label": "Auth modes",
"value": "mcp, api_key",
"href": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:31.517Z",
"isPublic": true
},
{
"factKey": "schema_refs",
"category": "artifact",
"label": "Machine-readable schemas",
"value": "OpenAPI or schema references published",
"href": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool#input",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:31.517Z",
"isPublic": true
},
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Brendancopley",
"href": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool#readme",
"sourceUrl": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool#readme",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-24T19:43:14.176Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "18 GitHub stars",
"href": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool",
"sourceUrl": "https://github.com/brendancopley/mcp-chain-of-draft-prompt-tool",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-24T19:43:14.176Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-brendancopley-mcp-chain-of-draft-prompt-tool/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[
{
"eventType": "docs_update",
"title": "Docs refreshed: Sign in to GitHub Β· GitHub",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
}
]Sponsored
Ads related to mcp-chain-of-draft-prompt-tool and adjacent AI workflows.