TrueSource

io.github.hangeaiagent由 GitHub 帳號 hangeaiagent 發布v0.1.1更新於 Oct 28, 2026

First-hand market signals: filings, procurement wins, R&D expansion, macro data

發布方自己的服務:Source

概覽

AI 產生的概覽

為助理提供可引用的第一手市場訊號:公告、政府採購得標、研發擴張與總體經濟資料,以及個股訊號簡報。

可以做什麼
  • 取得近期政府採購得標結果,以及統計機關、海關與產業團體發布的總體經濟資料
  • 依一批股票代號產生訊號摘要與警示等級,或只回傳超過門檻的訊號
  • 為 35 個預建的 AI 算力標的取得完整研究報告
  • 對任一 A 股執行即時完整蒐集,約需 30 至 60 秒
  • 每筆訊號都附有日期與來源,結果遭截斷時會標示實際總數
適用情境
適合需要有事實依據、可追溯來源的市場事件,而非分析師摘要或買賣建議的情境,例如追蹤公共合約由誰得標、查看總體經濟資料發布,或篩選 A 股個股的近期訊號。
執行需求
以 stdio 方式在本機執行,通常透過 uvx 或安裝 truesource-mcp 套件啟動。需要向服務商開發者頁面取得 HUNTER_API_KEY,沒有免金鑰模式。可選設定包括 TRUESOURCE_MAX_ITEMS、供自架使用的 TRUESOURCE_URL,以及逾時與傳輸方式變數。需要能連線至上游閘道的網路。
安裝前請注意
每次 scout 呼叫都會執行真實爬蟲與第三方搜尋,因此呼叫會在外部 API 上產生費用,這也是必須提供金鑰的原因。API 金鑰只顯示一次,需妥善保管。grey 警示等級代表未蒐集到訊號,並不表示該股票安全;空結果是結論而非故障。report 不會自動改用 scout。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 TrueSource,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

truesource-mcp

First-hand market signals your AI agent can actually cite.

An MCP server wrapping TrueSource — a crawler and AI-retrieval stack that watches things which have already happened and carry a verifiable source: exchange filings, government procurement awards, R&D expansion moves, northbound holdings, and official macro releases.

It does not summarise analyst reports and it does not emit buy/sell calls. Every signal comes with a date and where it came from.

[License]


Tools

ToolWhat it doesSpeed
truesource_procurement(days, limit)Recent government procurement awards — who is actually winning contractsfast
truesource_macro(days)Macro releases from the statistics bureau, customs and industry bodiesfast
truesource_daily_brief(symbols)Signal digest + alert level for a batch of tickers (last 3 days)fast
truesource_alert_signals(symbols)Only signals that crossed an alert threshold (last 26 hours)fast
truesource_report(symbol)Full research report — 35 pre-built AI-compute names onlyfast
truesource_scout(symbol, name)Live full collection for any A-share30–60s

Procurement is the most distinctive one: a contract award is a fact that has already occurred, which is a harder input than a forecast.


Quick start

You need an API key first — see below.

Claude Desktop / Cursor

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "truesource": {      "command": "uvx",      "args": ["truesource-mcp"],      "env": { "HUNTER_API_KEY": "hunt_tools_xxx" }    }  }}

Command line

bash
# no install neededHUNTER_API_KEY=hunt_tools_xxx uvx truesource-mcp
# or install itpip install truesource-mcpHUNTER_API_KEY=hunt_tools_xxx truesource-mcp

API key

This server has no keyless mode, and cannot have one — the upstream gateway returns 403 without a key.

The reason is cost: truesource_scout runs real crawlers plus a Gemini search on every call, so each invocation spends money on third-party APIs. Anonymous access would be trivially expensive to abuse and impossible to attribute.

Get one at https://hunter.agentpit.io/dev/api-keys — sign in, click 申请 API Key, copy the hunt_tools_… key (shown once), set it as HUNTER_API_KEY.

If the key is missing, this server does not return sample data or a fake success. It returns an error that tells you exactly where to get a key.


Environment variables

VariableDefaultNotes
HUNTER_API_KEY—Required. hunt_tools_ key
TRUESOURCE_URLhttps://hunter.agentpit.io/api/saas/truesourcePoint at your own deployment if you self-host
TRUESOURCE_TIMEOUT20Seconds. scout gets its own 120s floor regardless
TRUESOURCE_MAX_ITEMS40Cap on items per response
TRUESOURCE_MCP_TRANSPORTstdiostdio | streamable-http | sse
TRUESOURCE_MCP_HOST / _PORT0.0.0.0 / 8933Remote transports only

stdio is what Claude Desktop, Cursor and uvx use. Run a remote transport only if one long-running server should serve several clients — and prefer streamable-http, since the MCP spec marks SSE as deprecated.


Three things that will bite you otherwise

grey is not green. In daily_brief, an alert level of grey means no signal was collected for this ticker in the last 3 days. That may mean the stock was quiet, or it may mean coverage missed it. It does not mean "safe".

An empty result is a conclusion, not a failure. alert_signals returning nothing means these tickers crossed no threshold in the last 26 hours. That is information. This server never dresses an empty result up as an error, and never fills it with placeholder rows.

Truncation is always disclosed. Responses are capped at TRUESOURCE_MAX_ITEMS (40 by default). When that bites, the payload carries truncated: true, the real total, and a note not to draw conclusions from the visible slice. Raise the cap or narrow the date range instead.

truesource_report also will not silently fall back to scout when a ticker isn't one of the 35 pre-built names. Scout costs 30–60 seconds and real money — that choice should be made deliberately, not happen behind your back.


Errors you might hit

ErrorMeaning
missing_api_keyHUNTER_API_KEY not set — see API key
invalid_api_key (401)Key wrong, incomplete or revoked
forbidden (403)Key valid but lacks access to this endpoint
not_found (404)For report: ticker isn't a pre-built name — use truesource_scout
timeoutscout genuinely takes 30–60s; raise TRUESOURCE_TIMEOUT
upstream_down (502/503)Crawler service is down; retry later

Related

  • kronos-mcp — K-line forecasting for A-shares, US and HK equities
  • akshare-mcp — lets a model explore AKShare's 1000+ China market data functions on its own
  • hunter-community — the open-source stack these come from

Apache-2.0.

來源:tools/truesource-mcp/README.md,提交 4af6d96

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Source 整合