smppw-mcp
Query private fund/company data from simuwang.com through MCP tools after authenticating with a qualified-investor account.
Save and validate login token (
set_token,check_auth).Search funds and private fund companies by name (
search_funds,search_companies).Browse/paginate private fund rankings (~3460 funds) with NAV and period returns (
get_ranking).Fetch fund detail: current NAV/date, YTD/since-inception returns, strategy, custody, filing, manager/company (
get_fund).Fetch performance metrics: return, annualized, Alpha, drawdown, Sharpe, Beta, interval returns vs benchmark, weekly win rate (
get_fund_performance).Fetch monthly/quarterly/yearly return series with benchmark comparison; yearly includes peer ranking/quartile (
get_fund_returns).Fetch asset size change history (
get_fund_asset_size).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@smppw-mcp show me the private fund ranking on page 1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
smppw-mcp
私募排排网(simuwang.com)MCP Server。提供 9 个结构化工具,将基金/公司查询、排行榜分页、净值与产品要素、风险收益指标、月/季/年度收益序列、规模变动等查询能力接入 LLM/Agent。
兼容 Antigravity、Claude Code、Cursor、Copilot 等支持 MCP 的 Agent。当前仅在私募排排网个人版账号中验证通过。
在开始之前
请先注册 私募排排网 账号,并完成合格投资者认证。
合格投资者应具备相应的风险识别能力和风险承受能力,具有 2 年以上投资经历,并满足以下任一条件:
近 3 年个人年均收入不低于 50 万元;
个人金融资产不低于 300 万元,或家庭金融净资产不低于 300 万元,或家庭金融资产不低于 500 万元。
Related MCP server: AgentLadle MCP AKShare
工具
工具 | 说明 |
| 保存登录态(浏览器 cookie 中 |
| 验证登录态是否有效 |
| 按名称搜索基金(fund_id、公司、经理、收益、回撤摘要) |
| 按名称搜索私募公司 |
| 排行榜(可翻页,约 3460 只),每条含期末净值 nav + 各期收益 |
| 基金详情:当前净值(含日期、今年以来/成立以来收益) + 策略/托管/备案等要素 + 公司与经理 |
| 指标(收益/年化/Alpha/回撤/夏普/贝塔)+ 各区间收益与基准对照 + 周胜率 |
| 收益序列:月度 / 季度 / 年度(含基准对照,年度含同类排名) |
| 基金规模变动序列 |
典型用法:search_funds 找到 fund_id → get_fund 看净值与要素 → 需要时拉收益序列或指标。
快速开始
要求 Python ≥ 3.10。
git clone https://github.com/SuperLangdon/smppw-mcp.git
cd smppw-mcp
pip install -e .获取登录态(一次性)
查询净值与业绩需要排排网合格投资者认证账号:
浏览器登录 simuwang.com(需已完成合格投资者认证)
F12 → 应用 → Cookie → 复制
http_tK_cache的值两种方式提供给 server:
对 MCP 客户端说
set_token <粘贴值>(保存到~/.ppw-mcp.json)或设置环境变量
PPW_TOKEN
登录态过期后重新登录、更新一次即可。
MCP 客户端配置
{
"mcpServers": {
"ppw": {
"command": "python",
"args": ["-m", "ppw_mcp.server"],
"env": { "PYTHONIOENCODING": "utf-8" }
}
}
}pip install -e . 会同时生成命令行入口,也可以直接写 "command": "smppw-mcp"。
技术说明
数据来源两条通道:
SSR 页面(
dc.simuwang.com):Nuxt 3 服务端渲染,数据在__NUXT_DATA__扁平 payload 中明文内嵌,由ppw_mcp/nuxt.py还原。sppwapi(
sppwapi.simuwang.com/sun/*):JSON API,响应为动态 AES 加密。ppw_mcp/crypto.py复刻了站点前端的解密链:响应携带混淆 JS 形式的动态 key → 按encode编号变形 →MD5(key)作 AES-256-CBC key、其后 16 位作 IV → 双重 base64 密文解密。
登录态由单个 cookie http_tK_cache 承载;部分接口需要 USER_ID,
由 getUserInfoApi 自动获取并缓存。
已知限制
当前净值的覆盖范围:
get_fund的净值来自排行榜接口(fundRankV3keyword 反查),覆盖榜单内约 3460 只基金;未上榜基金(无有效业绩区间)详情页净值被站方图片化,返回 null。日度净值曲线(
fundNavTrend)请求参数为sdata加密(算法已逆向:AES key = MD5(cookie8hIn9IA),双层 base64),但服务端对该请求做了会话/指纹级绑定,浏览器外重放会被拒绝("参数错误 1")。已用performanceRangeV2提供月度/季度/年度收益序列;配合初始净值 1.0 可合成累计净值走势。登录态
http_tK_cache会被服务端轮换,保存的旧值通常继续有效;若check_auth报失效,重新登录后更新一次 token。站方若调整加密方案或页面结构,
crypto.py/nuxt.py需同步更新。
免责声明
本项目仅供个人学习研究与查询账号权限内的数据,请勿用于批量抓取、商业用途或向他人提供数据服务。
私募基金业绩与其他非公开信息仅向合格投资者展示为监管要求(见 《私募投资基金监督管理暂行办法》),使用时请务必确保合规性。
数据归私募排排网所有,本项目不对数据的准确性、完整性作任何保证;过往业绩不预示未来表现,不构成投资建议。
本项目的逆向分析仅用于实现个人账号数据的程序化读取,不试图绕过任何付费机制、登录权限或访问控制。本项目为非官方、非授权项目,具有一定逆向工程与自动化访问性质,可能违反私募排排网的 服务条款(ToS)。本项目与私募排排网无任何关联,亦未获其授权或认可。使用者应自行评估合规风险,并自行承担使用本项目所产生的一切后果,包括但不限于账号限制、服务中断、数据丢失及法律责任。
License
Available Tools
9 toolscheck_authB
验证排排网登录态是否有效(合格投资者数据是否解锁)。
Inputs: no named parameters.
get_fundA
查询基金详情(fund_id 形如 HF0000DEHO,可先用 search_funds 检索)。
返回当前净值 nav(含净值日期、今年以来/成立以来收益)、基本信息 (策略、成立日、开放日、托管人、备案号、投资范围)、管理公司与经理。 nav 为 None 表示该基金未进排行榜(站方对详情页净值做了图片化)。
Inputs: fund_id (required).
get_fund_asset_sizeC
查询基金规模变动序列(各期规模与环比变化)。
Inputs: fund_id (required).
get_fund_performanceC
查询基金当前指标与区间业绩汇总(净值日期、收益/回撤/夏普等指标, 以及成立来/今年/近一月~近五年各区间收益与基准对照、同类排名)。
Inputs: fund_id (required).
get_fund_returnsB
查询基金收益序列(数据来自 sppwapi performanceRangeV2,明文可解)。
granularity: monthly=月度收益序列 | quarterly=季度 | yearly=年度 (含基准对照;年度还含同类排名与四分位)。 配合初始净值 1.0 可合成累计净值走势。
Inputs: fund_id (required), granularity.
get_rankingB
获取私募排行榜(默认近半年收益排序,每页 50 条,共约 3460 只 可翻页)。每条含 fund_id、期末净值 nav、成立来/今年/近半年~近五年 各期收益,可直接用作基金当前单位净值来源。
Inputs: page.
search_companiesC
按名称搜索私募公司,返回 company_id 与基本信息。
Inputs: query (required), page_size.
search_fundsA
按名称搜索私募基金,返回 fund_id、公司、经理、成立日、 今年/成立以来收益、最大回撤等摘要。后续用 get_fund 查详情。
Inputs: query (required), page_size.
set_tokenA
保存排排网登录态(浏览器 cookie 中 http_tK_cache 的值)。
获取方法:浏览器登录 simuwang.com 后,F12 -> 应用 -> Cookie -> 找到 http_tK_cache,复制其值传入。保存到 ~/.ppw-mcp.json, 过期后重新登录再更新一次即可。
Inputs: token (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools target distinct actions (search, ranking, detail, series). However get_fund, get_fund_performance, and get_fund_returns all return overlapping return/nav data, and get_ranking also surfaces nav, so an agent could pick the wrong one for a given data need.
Consistent snake_case verb_noun pattern throughout: set_token, check_auth, search_funds, get_fund, get_fund_performance, get_fund_returns, get_fund_asset_size. The get_fund_* family is predictable and readable.
9 tools is well-scoped for a fund-data API: auth pair plus search and detail/series endpoints. Each tool earns its place with no redundancy padding.
Fund lifecycle is well covered (search → detail → performance → returns → asset size). Minor gap: search_companies returns a company_id but there is no get_company detail tool, creating a dead end for company lookups.
Maintenance
Related MCP Connectors
China A-share screening, filings, holdings, flows and calendars as agent tools.
China A-share data for AI agents: 57 read-only tools plus 6 tools for your own watchlist.
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
China A-share market data over MCP: 22 tools for quotes, K-line, financials, money flow, top-trader boards, sectors, macro, convertible bonds and factor screening. Five tools need no API key, so you can connect and try it immediately.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides 11 MCP tools for querying A-share market data, financial reports, stock screening, hot topics, self-selected stocks, and LOF arbitrage using natural language, powered by East Money / Miaoxiang APIs.MIT
- AlicenseAqualityCmaintenanceProvides 46 financial data tools for AI assistants covering A-share, HK, US markets, macroeconomics, funds, and derivatives, powered by AKShare.54MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to discover, download, parse, and search China A-share announcements from CNINFO (巨潮资讯网) through six structured tools.63MIT
- AlicenseCqualityBmaintenanceEnables AI agents to access Chinese financial market data and investment research through 177 tools, covering stocks, industries, macroeconomics, economic cycles, commodities, crypto, funds, and asset allocation.181MIT