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 整合