Skip to main content
Glama
ishan-parihar

etmoney-lyr

ET Money에는 공개 API가 없습니다. 그런데 당신의 에이전트는 API가 필요합니다. etmoney-lyrET Money의 리서치 서피스(research surfaces)를 리버스 엔지니어링해서 로컬 MCP 서버로 만들어 줍니다: 67개 뮤추얼 펀드 카테고리 전체, 주식 시장 스크리너, NIFTY 지수 및 섹터 구성종목을 모아 구조화된 JSON 출력을 반환하는 10개의 타입화된 도구로 제공합니다. 읽기 전용이며 로그인도 키도 필요 없습니다.


실제 동작 모습

실제 세션, 실제 숫자 — 도구에서 그대로 가져온 결과입니다.

// 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개 · 모든 도구와 파라미터 경계 사례를 아우르는 라이브 엔드투엔드 점검 54개, 그리고 실제 stdio 바이너리와 Docker 이미지를 통한 프로토콜 핸드셰이크 테스트까지 마쳤습니다.

Related MCP server: MCP Financial Data Gateway

다루는 범위

도구

에이전트가 요청할 수 있는 것

뮤추얼 펀드

mf_search mf_list mf_detail mf_compare mf_categories mf_featured

67개 카테고리(대형주 → 골드 → 인덱스 펀드 → 퇴직)를 골라 검색하고, 보유 종목·위험 비율 등을 담은 전체 리포트 카드를 확인하며, 최대 4개 펀드를 나란히 비교합니다.

주식

stock_screen index_stocks sector_stocks stock_detail

상승·하락 종목, 52주 최고·최저, 멀티배거 스크리너, NIFTY 50–500 및 종목, 섹터 목록, 종목별 펀더멘털을 확인할 수 있습니다.

일반적인 흐름: mf_search("small cap")mf_detail(6558)mf_compare([6558, 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가 알아서 준비합니다.

에이전트 연결 설정

{
  "mcpServers": {
    "etmoney": {
      "command": "etmoney-lyr",
      "args": []
    }
  }
}

그게 전부입니다. 이 바이너리는 두 가지 모드로 동작합니다: 대화형 터미널에서는 도움말 홈 화면을 보여주고, 파이프된 stdin으로는 MCP를 제공합니다.

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 container

CLI 출력은 기본적으로 TOON(토큰 효율적) 방식이며, 원본 데이터가 필요하면 --json을 사용합니다. 오류는 머신이 읽기 좋은 error: / help: 줄로 나오며 항상 exit code 2를 반환합니다.

작동 방식

ET Money 웹 앱은 세 가지 서로 다른 메커니즘으로 데이터를 노출합니다. 그래서 유연한 HTML 스크레이퍼 하나만 쓰는 대신, 각 메커니즘에 전용 파서를 둡니다:

  • JSON API — 스크리너와 검색용 (사이트 자체 XHR 계약)

  • 임베디드 JS DTO — 펀드 페이지의 완전한 리포트 카드가 <script>var compSchemeDTO = …</script>에 완성된 JSON으로 그대로 들어 있습니다. 따라서 HTML 테이블을 파싱하는 방식보다 훨씬 낫습니다.

  • Next.js RSC flight payload — 주식 페이지의 self.__next_f.push() 청크 데이터를 조합한 것입니다.

파서는 실서버 페이서를 커밋해 둔 픽스처 복사본에 고정되어 있어서, 마크업이 바뀌면 숫자가 조용히 깨지지 않고 테스트가 크게 실패합니다. 인도식 숫자 표기(₹1,48,429 Cr, 13 mins 3 m)는 어디서든 float로 정규화합니다.

한계 (솔직하게)

  • 리서치 전용. 주문·SIPA·KYC·포트폴리워리 등은 없습니다 — 이것은 의도된 설계입니다. 포트폴리오 추적과 Genius 인사이트는 로그인 뒤에 있는 상위기 서비스이므로 범위 밖입니다.

  • 앱 전용 데이터 (인터랙티브 ET Money Rank scorecard, Genius 판정)는 공개하지 않습니다. 공개 페이지에 있는 점수 코멘트리는 포함됩니다.

  • Upstream drift: ET Money는 언제든 페이지를 바꿀 수 있습니다. 픽스처 테스트가 구조적 결함을 잡아내므로, 파서를 바꿀 때마다 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-호환 CLI라는 철학을 공유합니다.

라이선스

MIT — LICENSE 참조. ET Money / 360 ONE와는 아무런 관련이 없습니다. 이 데이터는 공개된 리서치 정보입니다. 여기 있는 어떤 것도 투자 조언이 아닙니다.

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 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
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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
  • A
    license
    Not graded
    quality
    B
    maintenance
    AI 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
  • A
    license
    B
    quality
    B
    maintenance
    Exposes Screener.in data for Indian stocks (NSE/BSE) — fundamentals, financial statements, peers, and price/EPS time-series — as tools any MCP client can call.
    4
    4
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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