Contivo Trader
Read-only access to a self-hosted investment database: prices, valuation, factors, and index constituents.
- CCM score
- 54 of 100
- tools
- 9
- transport
- HTTP
- last updated
- Nov 29, 2026
Own this MCP server? Claim it
What it does
- Reads market data with
get_pricesandget_valuationacross A-shares, Hong Kong, US equities, and futures, with PE(TTM), PB, PS, dividend yield, turnover, and market cap - Searches and inspects the data catalog with
list_datasets,dataset_detail,list_symbols,get_factor, andindex_members, which returns factor IC and ICIR plus index weights - Runs ad hoc read-only SQL through
query_sql(SELECT and WITH only) and checks freshness withdata_status; positions and settlement ledgers are not reachable - Designed for researchers who want time-point snapshot data from an AI client without exposing holdings, and runs locally over stdio or through a public HTTP endpoint
Tools
9 toolsPublic tool metadata for what this MCP can expose to an agent.
data_status各表最新日期、dataset_catalog 状态/分层分布、高危质量检查项、DATA_VALIDATION_STATUS 摘要
各表最新日期、dataset_catalog 状态/分层分布、高危质量检查项、DATA_VALIDATION_STATUS 摘要
No parameter schema in public metadata yet.
list_datasets检索 1400+ 数据集目录(按关键词/层/schema/状态),带 pit_safe 与来源
检索 1400+ 数据集目录(按关键词/层/schema/状态),带 pit_safe 与来源
No parameter schema in public metadata yet.
dataset_detail单个数据集的登记信息、覆盖区间、可用性标记
单个数据集的登记信息、覆盖区间、可用性标记
No parameter schema in public metadata yet.
get_prices日线行情:A股 / 港股 / 美股 / 期货
日线行情:A股 / 港股 / 美股 / 期货
No parameter schema in public metadata yet.
get_valuation估值截面:PE(TTM)、PB、PS、股息率、换手率、市值
估值截面:PE(TTM)、PB、PS、股息率、换手率、市值
No parameter schema in public metadata yet.
list_symbols标的清单与检索:A股 / 港股 / 美股 / ETF / 期货合约
标的清单与检索:A股 / 港股 / 美股 / ETF / 期货合约
No parameter schema in public metadata yet.
get_factor因子值 + 因子元信息(IC 均值、ICIR、样本区间)
因子值 + 因子元信息(IC 均值、ICIR、样本区间)
No parameter schema in public metadata yet.
index_members指数成分与权重(idx.weight)
指数成分与权重(idx.weight)
No parameter schema in public metadata yet.
query_sql受限只读 SQL,用于目录外的临时取数
受限只读 SQL,用于目录外的临时取数
No parameter schema in public metadata yet.
Readme
Contivo 交易员 · 投资数据库 MCP(contivo-trader)
把《超级投资家》的本地 DuckDB 仓暴露成 MCP 工具,让任何 AI 客户端直接查 行情、估值、因子、数据集目录与数据治理状态。
- 端点形态:公网 Streamable HTTP(
https://contivo-trader.supersubject.ai/mcp)+ 本地 stdio,两端工具与口径完全一致 - 机器可读元数据:
https://contivo-trader.supersubject.ai/server.json(MCP 注册表格式,目录平台按它抓服务名与接入方式) - 公网形态的实现:本机 launchd 常驻 HTTP 服务(127.0.0.1:8756,
http_server.py)经 cloudflared 隧道对外;数据不出本机 - 依赖:只用标准库 + 项目
.venv里已有的duckdb,不新增任何包 - 源文件:
tools/mcp_invest/server.py(工具实现与 stdio 传输)、tools/mcp_invest/http_server.py(公网传输层) - 自检:
test_server.py(stdio 协议往返 + 安全断言)、verify_streamable_http.py(公网协议路径 + SSE 上限)、probe_public_security.py(公网文件读取绕过探测) - 公网接入参数与踩坑:
/Users/szk/坤哥的商业观察/05-系统工具/rules-mcp/接入清单.md
形态:公网 + 本地双形态
2026-11-29 起公网开放(用户拍板)。公网形态不是把数据库搬上云:
- 主库 278 GiB、快照 4.3T 搬不进 Cloudflare Worker,所以公网形态是「服务跑在本机、数据不出本机」,由本机 HTTP 服务 + 隧道对外提供。
- 库里有真实持仓(
configs/holdings_current.json)与期货结算单(PORTFOLIO_LEDGER.md,含第三方姓名、客户号、期初结存与保证金占用),两者在 DuckDB 之外。公网进程启动时在引擎层关闭外部文件访问(enable_external_access=false+disabled_filesystems='LocalFileSystem'),自由 SQL 另有正则拦截read_csv/read_text/glob等表函数;两道防护都要验。 - 不提供任何持仓/台账类工具——服务只读行情、估值、因子、目录与状态。
数据读取纪律
Details
- Repository
- github.com/shaozhengkun123/contivo-trader-mcp
- Website
- contivo.supersubject.ai/#trader
- Categories
- Finance & Trading, Data & Analytics
- Transport
- HTTP
- Registry
- MCP registry, active
More from shaozhengkun123
All 3Similar to Contivo Trader
More Finance & TradingAngariavinenastudio/angaria-mcpCreate, sign and download Turkish e-Arşiv invoices through the Angaria Mac app
Beankeepergovcraft/beankeeper-desktopAsk your AI to keep double-entry books for every company you own. Books stay on your computer.
DataToll Commercial Intelligence · Ads, Jobs, Shopify & YouTubebykite/datatoll-mcpValidated Google Ads, ATS jobs, Shopify & YouTube transcripts. Free preview + x402 batches.
Deferaapp.defera/mcpFlight layaway: flights quoted as payment plans (due today, payments, total), booked on Defera.
FinKeelarctave/finkeel-aiRead-only FinKeel totals: income, expenses, net cash flow; receipt coverage for Business.
Hyperliquid Liquidation Heatmap – Crypto Trading – by HyperPerpsvelinxs/hyperperps-heatmap-pluginLive Hyperliquid liquidation heatmap: liquidation clusters, stop pools, TP walls, crowd positioning.