DemandScope

io.github.baobabcat由 GitHub 账号 baobabcat 发布v0.3.0更新于 Oct 24, 2026

Live demand signals for idea validation: npm/PyPI downloads, GitHub + HN attention trends.

发布方自己的服务:Scope (AEC) - Preview

概览

AI 生成的概览

一个本地 MCP 服务器,抓取公开需求信号——npm/PyPI 下载量与 GitHub、Hacker News 关注趋势——用于验证产品想法。

可以做什么
搜索 GitHub 仓库,衡量某主题的开发者关注度或竞争情况,并通过增长比率追踪关注度的加速变化。查询 Hacker News 上某主题的关注度及其趋势增量。获取可比 npm 与 PyPI 软件包的下载量,作为粗略的需求参考。在本地按时间过期缓存重复查询,并对限流或失败的请求进行重试。
适用场景
适合在助手协助评估某个开发工具或数字产品想法是否具有真实需求时使用,也适合用免费公开数据比较竞品软件包与项目的关注度。
运行要求
以本地 Python 进程通过 stdio 运行,使用 python3 和服务器脚本启动。需要访问 GitHub、Hacker News(Algolia)、npm 与 pypistats 接口的网络连接。未声明认证或 API 密钥。可通过环境变量 DEMANDSCOPE_CACHE_DIR 指定可选的缓存目录。
安装前请注意
下载量包含 CI 与镜像流量,只能作为方向性参考,并非精确市场规模。结果依赖第三方公开 API,可能被限流或失败;pypistats 被视为尽力而为。项目声明其由自主 AI 代理构建和维护,外部操作由人类所有者审核。

安装

在 SourceWeft 中

  1. 打开 控制台中的 DemandScope,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

DemandScope

Public-API demand-signal scanner for validating digital-product and dev-tool ideas, plus a dependency-free MCP (Model Context Protocol) stdio server that exposes the signals as tools any MCP-compatible agent can call.

Transparency notice: this project is built, tested, and maintained by an autonomous AI agent (Hermes, by Nous Research) operating in the Autonomous Income Research Lab. A human owner reviews and authorizes external actions.

Why

Built by the Autonomous Income Research Lab (2026-08-17) as its first product prototype: demand validation for niche dev tools is itself a recurring need for indie builders, and MCP integrations are a fast-growing ecosystem (evidence: research/2026-08-17-opportunity-scan.md).

Signals (all free, no-auth, ToS-friendly APIs)

ToolSourceProxy for
github_repo_signalapi.github.com/searchdeveloper interest / competition
github_trendapi.github.com (created:)supply/interest acceleration (delta)
hn_signalhn.algolia.com (Hacker News)tech-audience attention
hn_trendhn.algolia.comattention acceleration (delta)
npm_downloadsapi.npmjs.orgcomparable-product demand
pypi_downloadspypistats.orgcomparable-product demand

Absolute download counts include CI/mirror traffic — use directionally, not as exact market sizes. Trend tools return growth_ratio (current window ÷ prior window); >1 means accelerating.

Reliability (v0.2)

  • Cache: file-based TTL cache (DEMANDSCOPE_CACHE_DIR, default .cache/demandscope). TTLs: GitHub/HN 1h, npm/PyPI 24h. Repeat calls are free and instant.
  • Backoff: exponential retry (max 4) on HTTP 429/5xx, honoring Retry-After. pypistats is treated as best-effort.

Usage

CLI-style (batch scan):

bash
python3 ../demand-scanner/demand_scanner.py candidates.json out/

As an MCP server (newline-delimited JSON-RPC 2.0 over stdio):

bash
python3 mcp_server.py

MCP client config example:

json
{"mcpServers": {"demandscope": {"command": "python3", "args": ["/path/to/mcp_server.py"]}}}

MCP Registry / MCPB bundle

DemandScope is published to the official MCP Registry as io.github.baobabcat/demandscope. Each release attaches a deterministic, one-click-installable MCP Bundle (demandscope.mcpb, spec 0.3) built by scripts/build_mcpb.py; publishing runs from CI via GitHub OIDC (.github/workflows/publish-mcp.yml, no stored secrets). The registry manifest (server.json) is validated with mcp-registry-lint and mcp-publisher validate before every publish.

Tests

bash
python3 test_mcp_server.py

10 end-to-end protocol tests (handshake, notifications, ping, tools/list, tools/call incl. trend + cache-hit assertion, error paths). Network needed for the npm_downloads and hn_trend call tests.

Status / roadmap

  • v0.3 (2026-08-20): MCPB bundle + official MCP Registry publishing via GitHub OIDC (server.json, deterministic scripts/build_mcpb.py, tag-triggered publish workflow with rollback). 10/10 tests pass.
  • v0.2 (2026-08-17): trend-delta tools (github_trend, hn_trend), TTL cache + rate-limit backoff, pyproject.toml packaging, MIT license. 10/10 tests pass.
  • v0.1 (2026-08-17): protocol subset initialize, ping, tools/list, tools/call; 4 signal tools.
  • Next: resources support, hosted HTTP transport, second asset (mcp-registry-lint) in the lab pipeline.

来源:README.md,提交 44ab046

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Scope 集成