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!
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。