reasoning-tools
Provides computational tools for systematic reasoning, including boolean evaluation, date arithmetic, object counting, state tracking, and format validation, to enhance agent capabilities and eliminate calculation errors in reasoning tasks.
README
mcp-reasoning-tools
๐ง Tool-Augmented Reasoning MCP Server for systematic computational verification and enhanced agent capabilities
๐ What This Solves
This MCP server provides computational tools that eliminate calculation errors and format mismatches in agent reasoning. Based on breakthrough research showing 58.3% improvement over baseline reasoning (from 28.6% to 58.3% on BIG-Bench Hard evaluation).
๐ ๏ธ Core Tools
boolean_evaluate
Systematically evaluate boolean expressions with step-by-step verification
Input: "True and False or not True"
Output: Step-by-step boolean evaluation with operator precedence
date_calculate
Perform date arithmetic with computational verification
Input: base_date="2023-01-15", offset_days=7, format="MM/DD/YYYY"
Output: Verified date calculation with breakdown
object_count
Systematically count objects by category with verification
Input: items=["bear", "snake", "microwave", "cat"], target_category="animals"
Output: Categorized count with breakdown (3 animals)
state_track
Track object positions through a series of swaps/moves
Input: initial_state={"Alice": "red"}, operations=[{type: "swap", participants: ["Alice", "Bob"]}]
Output: Step-by-step state tracking
systematic_verify
Apply 6-step systematic reasoning protocol to any problem
Input: problem="Complex reasoning task", problem_type="boolean"
Output: Structured reasoning framework
format_validate
Validate answer format and convert to expected format
Input: answer="True", expected_format="boolean"
Output: Format-validated answer
๐ Performance Impact
- Boolean Logic: 100% accuracy with computational verification
- Date Calculations: 100% accuracy with tool-based arithmetic
- Object Counting: Systematic categorization prevents errors
- Format Matching: Eliminates presentation mistakes
- Overall: 29.7 percentage point improvement on standardized tests
๐ง Installation
- Clone and install:
git clone https://github.com/your-username/mcp-reasoning-tools.git
cd mcp-reasoning-tools
npm install
- Add to Claude Desktop config:
{
"mcpServers": {
"reasoning-tools": {
"command": "node",
"args": ["/path/to/mcp-reasoning-tools/src/index.ts"]
}
}
}
- Restart Claude Desktop
๐ฏ Usage Examples
Boolean Evaluation
// Instead of mental math: "True and False or not True"
// Use tool: boolean_evaluate({ expression: "True and False or not True" })
// Result: Systematic step-by-step evaluation with verification
Date Arithmetic
// Instead of guessing: "What's 7 days before March 31, 2023?"
// Use tool: date_calculate({ base_date: "2023-03-31", offset_days: -7 })
// Result: Verified calculation with breakdown
Systematic Reasoning
// For any complex problem:
// Use tool: systematic_verify({ problem: "Complex task", problem_type: "temporal" })
// Result: 6-step reasoning protocol applied
๐งช Testing
npm test # Run test suite
npm run lint # Check code quality
npm run dev # Start development server
๐ฌ Research Foundation
This tool is based on systematic evaluation of agent capabilities using BIG-Bench Hard, a standardized benchmark for challenging reasoning tasks. Key insights:
- Mental math fails on complex reasoning problems
- Computational verification eliminates systematic errors
- Tool augmentation can double agent performance
- Systematic protocols provide consistent improvements
๐ Integration Strategy
With Existing MCP Tools
- Complements code execution and web search tools
- Provides verification layer for computational tasks
- Systematic reasoning framework for complex problems
With Brain Systems
- Store reasoning protocols for persistence
- Track performance improvements over time
- Learn from successful tool usage patterns
๐ค Contributing
- Fork the repository
- Create feature branch:
git checkout -b feature/enhancement - Add tests for new functionality
- Submit pull request with detailed description
๐ License
MIT License - see LICENSE file for details
๐ Related Projects
๐ฏ Transform your agent capabilities with systematic computational reasoning!
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.