npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

demand-processor-mcp

v1.0.0

Published

MCP Server for intelligent demand processing, evaluation, and team collaboration

Readme

Demand Processor MCP Server

智能需求处理MCP服务器,为Claude Code提供需求分析、成本估算、工作量评估等能力。

功能特性

  • 需求解析 - 自动解析需求描述,提取关键信息
  • 成本计算 - 计算token消耗、API成本、人力成本
  • 工作量估算 - 估算开发、测试、部署时间
  • 可行性评估 - 评估技术可行性和资源需求
  • 方案分析 - 比较不同解决方案的优劣
  • 团队协作 - 创建协作agents
  • 报告生成 - 生成完整的评估报告

安装

通过npm安装(推荐)

npm install -g demand-processor-mcp

从源码安装

git clone <repository-url>
cd demand-processor-mcp
npm install
npm run build
npm link

配置Claude Code

~/.claude/settings.json 中添加:

{
  "mcpServers": {
    "demand-processor": {
      "command": "demand-processor-mcp"
    }
  }
}

重启Claude Code后,工具将自动可用。

使用示例

1. 解析需求

使用 parse_demand 工具解析以下需求:
"创建一个图片压缩工具,支持批量处理,输出格式可选"

2. 计算成本

使用 calculate_cost 工具计算需求 req-xxx 的成本
复杂度:medium
模型:sonnet

3. 估算工作量

使用 estimate_workload 工具估算需求 req-xxx 的工作量
复杂度:medium

4. 生成报告

使用 generate_report 工具生成需求 req-xxx 的完整报告
格式:markdown

工具列表

| 工具名称 | 描述 | 参数 | |---------|------|------| | parse_demand | 解析需求描述 | demand, source? | | calculate_cost | 计算成本 | demandId, complexity, model? | | estimate_workload | 估算工作量 | demandId, complexity | | evaluate_feasibility | 评估可行性 | demandId, techStack? | | analyze_solutions | 分析方案 | demandId, constraints? | | create_team_agents | 创建团队agents | demandId, agentTypes | | generate_report | 生成报告 | demandId, format? |

资源

  • demand://templates/demand - 需求文档模板
  • demand://templates/evaluation - 评估报告模板
  • demand://history/list - 历史需求列表

数据存储

所有数据存储在 ~/.demand-processor/ 目录:

~/.demand-processor/
├── demands/      # 需求信息
├── costs/        # 成本估算
├── workloads/    # 工作量估算
└── reports/      # 生成的报告

开发

# 安装依赖
npm install

# 开发模式
npm run dev

# 构建
npm run build

# 监听模式
npm run watch

许可证

MIT

贡献

欢迎提交Issue和Pull Request!