Valueledger

io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 7, 2026

Read-only value-investing research: funds, holdings, financials, options and insiders.

發布方自己的服務:Value Ledger 研值

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

連接 FolioFact 託管 MCP 服務的本機 stdio 橋接,讓助理進行唯讀的價值投資研究:基金、持股、財務、選擇權與內部人交易。

可以做什麼
  • 跨領域搜尋基金、股票與內部人交易
  • 查看單一基金的最新申報、投資人、目前持股與逐季歷史
  • 查詢某公司被哪些基金持有、投資人的投資組合關聯,以及 Form 4/5 內部人交易
  • 取得財務報表、估值摘要、附引用的 AI 財報報告與 30 天隱含波動率歷史
  • 對 2 至 6 檔股票依估值、財務、基金信心與內部人活動做並列比較
  • 以 markdown 或純文字抓取白名單內的公開頁面,例如部落格文章與 agent 探索文件
適用情境
適合讓助理做價值投資研究:追蹤知名基金及其 13F 類持股、查看某檔股票由誰持有,或取得公司財務、內部人交易與選擇權波動率資料。它是唯讀研究工具,不用於交易。
執行需求
透過 npx(需 Node.js)或 Docker 映像在本機執行,並需要連線至上游 FolioFact 端點的網路。選用 FOLIOFACT_MCP_URL 可覆寫端點;選用 FOLIOFACT_API_KEY 會以 X-Api-Key 標頭送出。多個股票層級工具需上游 FolioFact Pro 訂閱。
安裝前請注意
所有工具呼叫都會轉送到第三方託管服務,查詢內容與股票代號會離開本機。選用的 FOLIOFACT_API_KEY 會以標頭送往上游,請勿放入共用設定。內部人動態第 2 頁之後、財報報告、財務、內部人、選擇權與比較等工具需 FolioFact Pro。README 說明端點覆寫與金鑰轉送屬於重建實作,並非原始擷取到的介面。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

valueledger

valueledger is a small local bridge to FolioFact's hosted MCP server, a read-only research service for value investors: it tracks well-known funds and the investors behind them, follows their 13F-style holdings quarter by quarter, and layers company financials, earnings reports, insider transactions and options data on top.

The bridge keeps no research data of its own. It serves the upstream server's tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning the result untouched. Every tool in the captured surface reads; nothing in it places a trade, moves money, or sends anything anywhere.

Tools

  • search — bounded cross-domain search across funds, stocks and insider transactions. Optional: query.
  • get_fund — one tracked fund's latest filing and its investors. Required: slug.
  • fund_holdings — a fund's current portfolio positions with quarter-over-quarter change. Required: slug.
  • fund_history — quarter-by-quarter filing history plus a summary of turnover, concentration and favourites. Required: slug.
  • get_stock — one company as held by tracked funds: holders, values and last-quarter moves. Required: ticker.
  • get_investor — one investor's portfolio links and featured fund. Required: slug.
  • insider_feed — recent Form 4/5 insider transactions across all held stocks, newest first. Optional: filter, q, page, per_page, sort, dir.
  • fetch_page — an allowlisted public page (blog posts, static pages, the agent discovery doc) as markdown or text. Required: path.
  • stock_earnings — the latest cited AI Earnings Report for one stock. Required: ticker; optional: period, include_full.
  • stock_financials — financial statements (yearly and quarterly) and the valuation summary for one stock. Required: ticker.
  • stock_insiders — recent Form 4/5 insider transactions for one company. Required: ticker.
  • stock_options — the daily 30-day implied-volatility history for one company. Required: ticker.
  • compare_stocks — aligned side-by-side comparison of 2-6 stocks: valuation, latest financial point, fund conviction and insider activity. Required: tickers; optional: insider_window.

Several stock-level tools are marked in their upstream descriptions as requiring FolioFact Pro; the bridge forwards calls either way and passes the upstream answer through unchanged.

Configuration

  • FOLIOFACT_MCP_URL (optional) — override the upstream endpoint. Defaults to https://foliofact.com/mcp. (The override hook is this rebuild's own labelled reconstruction.)
  • FOLIOFACT_API_KEY (optional) — when set, every upstream request carries an X-Api-Key: <key> header (the header name comes from the upstream's registry record). When it is not set, no key header is sent. (Forwarding the key from this variable is also a labelled reconstruction; the original surface was captured keyless.)

Forwarding mechanics

On the first tool call the client opens a streamable HTTP session with the upstream: a JSON-RPC initialize request (protocolVersion 2025-03-26, clientInfo name valueledger), then a notifications/initialized notification, then the tools/call request carrying the caller's arguments unchanged. When the upstream answers initialize with an Mcp-Session-Id header, that value rides on every later request of the session, which is reused for the life of the process. Replies may arrive as plain JSON or as server-sent events; both are read.

Successful upstream results pass through verbatim, including any isError flag the upstream sets. Failures — a JSON-RPC error, a non-2xx status, an unreadable response, or a request that cannot be completed — come back as an isError result whose text starts with valueledger error: (this rendering is this rebuild's own labelled reconstruction).

CLI

Each tool is also a subcommand taking one JSON argument string (omit it for tools that take none):

bash
npx @reneturcios/valueledger search '{"query":"Pabrai"}'npx @reneturcios/valueledger get_fund '{"slug":"pabrai-funds"}'npx @reneturcios/valueledger get_stock '{"ticker":"BRK.A"}'npx @reneturcios/valueledger compare_stocks '{"tickers":"AAPL,MSFT,GOOG"}'npx @reneturcios/valueledger --version

Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

bash
npx -y @reneturcios/valueledger mcp

MCP client config:

json
{  "mcpServers": {    "valueledger": {      "command": "npx",      "args": ["-y", "@reneturcios/valueledger", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/valueledgerdocker run --rm ghcr.io/cloudcorprecords/valueledger --version

The container's default command is mcp, so the first form is a stdio MCP server; any other arguments reach the CLI normally.

Development

bash
npm installnpm run buildnpm testnpm run dev

The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.

License

MIT — see LICENSE.

來源:README.md,提交 25ce0cf

工具

13

get_fund

Get a tracked fund

One fund's latest filing and its investors.

輸入參數slug必填

fund_holdings

Fund portfolio holdings

A fund's current portfolio positions with quarter-over-quarter change.

輸入參數slug必填

fund_history

Fund filing history

Quarter-by-quarter filing history and a summary (turnover, concentration, favorites).

輸入參數slug必填

get_stock

Get a held stock

One company as held by tracked funds: holders, values, and last-quarter moves.

輸入參數ticker必填

get_investor

Get an investor

One investor's portfolio links (funds they run or back) and featured fund.

輸入參數slug必填

insider_feed

Insider transaction feed

Recent Form 4/5 insider transactions across all held stocks, newest first. Filterable by transaction type and owner. Page 2+ requires FolioFact Pro.

輸入參數qdirpagesortfilterper_page

fetch_page

Fetch a public page

Fetches an allowlisted public page as markdown/text: published blog posts (/blog/:slug), static pages (e.g. /agents, /api-docs, /about), and the agent discovery doc (/llms.txt).

輸入參數path必填

stock_earnings

Stock AI Earnings Report

The latest cited AI Earnings Report for one stock (or a stable period with `period`). Requires FolioFact Pro.

輸入參數periodticker必填include_full

stock_financials

Stock financial statements and valuation

Financial statements (yearly and quarterly) and the valuation summary (enterprise value, FCF/EV and OCF/EV yields). Requires FolioFact Pro.

輸入參數ticker必填

stock_insiders

Stock insider transactions

Recent Form 4/5 insider transactions for one company. Requires FolioFact Pro.

輸入參數ticker必填

stock_options

Stock options-market snapshot

Daily 30-day implied volatility history for one company. Requires FolioFact Pro.

輸入參數ticker必填

compare_stocks

Compare stocks side by side

Aligned multi-stock comparison: valuation, latest financial point, fund conviction, and insider activity. Requires FolioFact Pro.

輸入參數tickers必填insider_window

版本歷史

1
  1. v0.1.0最新Nov 4, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Valueledger 整合