etmoney-lyr
< p align="center">
< p align="center"> <img ... >
ET Money 没有公开 API。而你的 Agent 正需要一个。 etmoney-low 将 ET Money 的研究界面逆向工程,封装为本地 MCP 服务器:全部 67 个共同基金类别、股票市场筛选、NIFTY 行情与板块成分股—— 以 10 个带类型工具 提供结构化 JSON 输出。只读,无需登录,无需密钥。
演示
真实会话、真实数字,直接来自工具:
// mf_search {"query": "parag parikh"}
{ "total": 7, "results": [ { "scheme_id": 19230, "name": "Parag Parikh Flexi Cap Fund Regular-Growth", ... } ] }
// mf_detail {"scheme_id": 19230}
{
"name": "Parag Parikh Flexi Cap Fund Regular-Growth",
"riskometer": "Very High",
"nav": 82.81,
"expense_ratio_total_pct": 1.29,
"trailing_returns": [ { "period": "1 Year", "fund_pct": -2.02, "category_avg_pct": 1.58 }, "...9 more horizons" ],
"holdings": [ { "name": "HDFC Bank Ltd.", "bucket": "EQUITY", "pct": 7.55 }, "...84 more" ],
"sectors": [ { "name": "Financial", "pct": 25.69 }, "...17 more" ],
"risk_ratios_fund": { "sharpeRatio": 0.76, "beta": 0.60, "alpha": 3.48 },
"risk_ratios_category": { "sharpeRatio": 3.54, "beta": 0.57 },
"managers": [ "Raj Mehta", "Rajeev Thakkar", "+4" ]
}
// mf_compare {"scheme_ids": [19230, 25643]}
{ "funds": [ { "name": "Parag Parikh Flexi Cap...", "etm_rank": 9, "rating": 5, "sharpe": 0.76 },
{ "name": "Motilal Oswal Flexi Cap...", "etm_rank": 7, "rating": 3, "sharpe": 0.75 } ] }上面的每个数字都来自 ET Money 自身页面,而非手写。
已验证: 195 个离线测试针对真实页面 fixture · 54 个覆盖每个工具和参数边缘的实时端到端检查 · 真实 stdio 二进制与 Docker 镜像。
Related MCP server: MCP Financial Data Gateway
覆盖范围
** | 工具**(列头已翻译) | 你的 Agent 能问什么 |
共同基金 |
| 可筛选 67 个类别(大盘 → 黄金 → 指数多个简单→ retirement),报告完整(持仓、风险)、最多 4 只基金对比 |
股票 |
| 领涨/领跌/52 周最低/几十只、NIFTY 50–500 与 Bank 成分股、板块列表、单只能股票基本面 |
典型流程:mf_search("small cap") → mf_detail(65518)" → mf_compare([65518, 11077])`。
安装
# uv from GitHub — the one-liner
uv tool install git+https://github.com/ishan-parihar/etmoney-lyr.git
# or the bootstrapping installer (installs uv if missing; pipx/pip fallbacks)
curl -sSL https://raw.githubusercontent.com/ishan-parihar/etmoney-lyr/main/install.sh | bash
# upgrade anytime
uv tool upgrade etmoney-lyr需要 Python 3.11+ —— uv 会自动提供环境。
让 Agent 接入
{
"mcpServers": {
"etmoney": {
"command": "etmoney-lyr",
"args": []
}
}
}就这么简单。同一个二进制是双模式的:交互终端显示帮助主画面;stdout stdin 平均 stdin 输出 MCP。
< details>
etmoney-lyr search "hdfc small cap" # TOON output built for agents
etmoney-lyr fund 19230 --full # full report card
etmoney-lyr stocks top_gainers # market screens
etmoney-lyr categories # category id reference
etmoney-lyr --list-tools --fields stock # tool inventory
docker build -t etmoney-lyr .
docker run -i --rm etmoney-lyr # stdio MCP server in a containerCLI 默认输出 TOON(token 高效),要原样数据时用 --json。错误是机器可读(error: / help: 行),且一定退出的代码2。
工作原理
ET Money 的网页应用通过三种不同机制泄漏数据——每种都有分析库,而不是一个脆弱的 HTML 表解析器:
< p align="center"> `
JSON API 用于筛选和搜索(网站自身的 XHR 契约)
基金页面上的内嵌 JS DTO——完整的报告卡片是现成的 JSON,在
<script>var compPlan?planB = …中;改取 HTML 表格反而更差Next.js RSC flight payload,由
self.__next_f.push()分块组装
解析器固定到已提交的真实页面 fixture,因此标记格式的位移会让测试剧烈失败,而不是默默手歪数字。印度的格式(₹1,48,429 Cr、13 yrs 9 m)统一化为浮点。
限制(如实)
生成研究。 不产生订单、SIPs 或 KYC 等,或者写出持仓——是有意。持仓跟踪和 Genius insights 在登录之后,不在范围内。
App专属**(interactive ET Money Rank scorecard、Genius verdicts)并不公开;公开页面提示的等级 评论已有。
上游漂移:ET Money 可随时更换页面。Fixture 测试检验页面结构;在修改任何分析器后建议你执行
python scripts/live_check.py。
开发
git clone https://github.com/ishan-parihar/etmoney-lyr && cd etmoney-lyr
uv sync --dev
uv run pytest # 195 tests, fully offline via fixtures
uv run ruff check . # lint
uv run python scripts/live_check.py # optional: 54 checks against live site属于 -lyr 序列(twitter-lyr、reddit-lyr、swiggy-lyr): 一个平台、一套 MCP、一套 AXI 接口。
许可证
MIT —— 见 LICENSE。与 ET Money / 360 ONE 无任何关联;这些数据是公开研究信息。这里的内容不构成投资建议。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides 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
- AlicenseNot gradedqualityDmaintenanceProvides 10 financial data tools (market data, economic indicators, news, insider trades, and calendars) via a single MCP layer, enabling any MCP-compatible LLM to access diverse financial data through a unified interface.MIT
- AlicenseNot gradedqualityBmaintenanceAI equity-research analyst for Indian NSE/BSE markets with 28 MCP tools enabling sector screens, valuations, SWOTs, and forensic audits using Claude Agent SDK.Apache 2.0
- AlicenseBqualityBmaintenanceExposes Screener.in data for Indian stocks (NSE/BSE) — fundamentals, financial statements, peers, and price/EPS time-series — as tools any MCP client can call.44MIT
Related MCP Connectors
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ishan-parihar/etmoney-lyr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server