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 集成