
shannon-thinking

2025.01.16
10
TypeScript问题解决工具结构化思考开发效率
shannon-thinking 是一个基于 Claude Shannon 系统化问题解决方法的 MCP 服务器。该服务器提供了一个工具,帮助用户将复杂问题分解为结构化思考,遵循 Shannon 的问题定义、数学建模和实际实施的方法论。
View on GitHub
Overview
产品定位
shannon-thinking 是一个基于 Claude Shannon 系统化问题解决方法的 MCP 服务器,旨在帮助用户通过结构化思考解决复杂问题。
核心功能
- 问题定义:将问题剥离到其基本元素
- 约束识别:识别系统限制和边界
- 模型开发:开发数学/理论框架
- 验证:通过形式证明或实验测试进行验证
- 实施:设计和测试实际解决方案
- 迭代问题解决:支持修订和重新检查
- 灵活验证:结合形式证明和实验验证
- 依赖跟踪:明确跟踪思考如何建立在先前思考之上
- 假设管理:要求明确记录假设
- 置信水平:量化每个步骤的不确定性
- 丰富反馈:带有颜色编码、符号和验证结果的格式化控制台输出
适用场景
- 复杂系统分析
- 信息处理问题
- 工程设计挑战
- 需要理论框架的问题
- 优化问题
- 需要实际实施的系统
- 需要迭代改进的问题
- 实验验证补充理论的案例
工具列表
- shannonthinking:根据 Shannon 的方法论构建问题解决思考的工具
常见问题解答
无明确常见问题解答部分。
使用教程
使用依赖
确保已安装 Node.js 和 npm。
安装教程
npm install @modelcontextprotocol/server-shannon-thinking
调试方式
# 安装依赖
npm install
# 构建
npm run build
# 运行测试
npm test
# 开发模式下的监视模式
npm run watch
示例用法
const thought = {
thought: "The core problem can be defined as an information flow optimization",
thoughtType: "problem_definition",
thoughtNumber: 1,
totalThoughts: 5,
uncertainty: 0.2,
dependencies: [],
assumptions: ["System has finite capacity", "Information flow is continuous"],
nextThoughtNeeded: true,
// Optional: Mark as revision of earlier definition
isRevision: false,
// Optional: Indicate step needs recheck
recheckStep: {
stepToRecheck: "constraints",
reason: "New capacity limitations discovered",
newInformation: "System shows non-linear scaling"
}
};
// Use with MCP client
const result = await client.callTool("shannonthinking", thought);