echopai-mcp
OfficialEchoPai MCP Server · 回声投研
Turn any AI into an event-driven equity research analyst.
Equip Claude, Cursor, VS Code, Gemini CLI, or any MCP-compatible agent with 50 real-time China equity (A-share) & quantitative research tools — full-text broker reports, individual analyst attribution, corporate filings, quantified sentiment cycles, and limit-up analytics, with traceable citations on every answer.
This repository provides a complete Node.js MCP Server built on @modelcontextprotocol/sdk and zod (src/index.js, src/tools.js, src/client.js) wrapping EchoPai's Open Platform REST APIs, alongside a hosted Streamable HTTP endpoint (https://mcp.huishengpai.com/mcp) for zero-install OAuth setup.
Official Portal Matrix
Resource | Global (EN) | China Mainland (中文 · 回声投研) |
Official Website | ||
Web Research Terminal | ||
API Keys & OAuth Account | ||
Remote MCP Endpoint |
|
|
Automated AI Setup Prompt |
Why EchoPai MCP?
Most open-source stock MCP servers only wrap basic price quotes or K-line endpoints. EchoPai connects your AI to institutional-grade event-driven research infrastructure:
Capability | Basic Price / Free Scripts | EchoPai MCP (回声投研) |
Broker Research | None or unindexed PDFs | Full-text broker reports ( |
Market Events & Filings | Delayed news headlines | Real-time announcements ( |
Market Microstructure | Raw OHLCV only | Limit-up pool & attribution ( |
Deployment & Auth | Local Python/Node setup & fragile cookies | Zero-install remote Streamable HTTP with Browser OAuth 2.0 or API Key; tools stay updated server-side |
Related MCP server: AStockEvent
What It Looks Like in Action
Once connected, simply ask complex research questions in natural language. Your AI chains multiple EchoPai tools automatically and cites every claim:
AI automatically calls:
views→report→digest→search
Consensus (3 top institutes aligned): Domestic training chip shipments revised up (40% → 55% YoY); 1.6T optical module ramp pulled forward to Q4.
Divergence: One sell-side team flags cautious CapEx guidance and yield/delivery cadence differences in Q2.
Analyst Weighting: Automatically surfaces each analyst's 90-day track record and directional hit rate so you know whose call carries more weight.
AI automatically calls:
quote→news→views→announcements→sentiment
Market Microstructure: +9.98% on 12.8B CNY turnover (8.2% turnover rate, 98th percentile over 60 days; volume z-score +3.1; main net inflow +1.1B CNY).
Catalyst: Equity incentive draft announced last night (grant price ~66% of market, covering 85% of staff, 2026–2028 revenue & profit targets).
Broker Follow-up: 3 morning notes raised earnings forecasts / target prices.
Risk Check: Verified zero reduction announcements within 30 days, zero lockup expirations within 45 days, and no regulatory inquiry letters.
Quick Start (20 Seconds)
Remote Endpoint (Streamable HTTP):
https://mcp.huishengpai.com/mcpSupports both Zero-Key Browser OAuth 2.0 and Bearer API Key (eps_live_...).
Claude Code
Option 1: Browser OAuth (no API key needed)
claude mcp add --transport http echopai https://mcp.huishengpai.com/mcpSelect echopai in /mcp to complete browser authorization.
Option 2: API Key
claude mcp add --transport http echopai https://mcp.huishengpai.com/mcp --header "Authorization: Bearer <YOUR_KEY>"Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"echopai": {
"url": "https://mcp.huishengpai.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_KEY>"
}
}
}
}VS Code (GitHub Copilot)
Add to .vscode/mcp.json:
{
"servers": {
"echopai": {
"type": "http",
"url": "https://mcp.huishengpai.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_KEY>"
}
}
}
}Claude Desktop / claude.ai / WorkBuddy
Open Settings → Connectors, add https://mcp.huishengpai.com/mcp, and click Authorize via browser login.
Gemini CLI
gemini mcp add --transport http --header "Authorization: Bearer <YOUR_KEY>" echopai https://mcp.huishengpai.com/mcpSee Client Configuration Guide for project-shared configs, environment variable tips, and headless CI/Cron usage.
Tool Directory (50 Tools)
All 50 tools are explicitly registered with zod input schemas in src/tools.js and call EchoPai's Open Platform /v1 REST APIs via src/client.js (with automatic failover between api.huishengpai.com and api.echopai.com).
Category | Tools |
Account & Market Meta ( |
|
Research & Views ( |
|
News, Announcements & Events ( |
|
Financials & Earnings ( |
|
Ownership & Lockups ( |
|
Market Quotes, Technicals & Scan ( |
|
Limit-up Analytics ( |
|
Market Sentiment ( |
|
Concept Boards ( |
|
For detailed descriptions and usage rules, see Tool Reference.
Local stdio MCP Server & CLI
Run this repository directly as a standalone local stdio MCP server powered by @modelcontextprotocol/sdk and zod (src/index.js, requires Node.js ≥ 20):
{
"mcpServers": {
"echopai": {
"command": "npx",
"args": ["-y", "@echopai/mcp"],
"env": {
"ECHOPAI_API_KEY": "eps_live_YOUR_KEY_HERE"
}
}
}
}Or run directly from a local clone:
node src/index.js --key eps_live_YOUR_KEY_HEREFor shell pipelines (echopai ... | jq) or cron jobs, you can also install the full echopai CLI package from npm:
npm install -g echopai
echopai --versionAutomated AI Setup
Paste either official setup prompt URL directly to your AI assistant and let it configure everything automatically:
China Mainland: https://www.huishengpai.com/agent-setup/prompt.md
About EchoPai & Disclaimer
Founded in 2022 with a distributed team across New York, Singapore, and Asia-Pacific, EchoPai (回声投研) builds event-driven quantitative research infrastructure based on the thesis that the market is the echo of events.
Global Website: https://echopai.com
China Website: https://www.huishengpai.com
Web Terminal: https://app.echopai.com
Disclaimer: EchoPai is a financial data and research information tool—not a registered investment advisor or broker-dealer. Nothing provided by the MCP server, API, or documentation constitutes investment advice or solicitation to buy or sell any securities.
License
MIT © 2026 EchoPai LLC
Available Tools
50 toolsannouncements_detailAInspect
Retrieve full text and structured metadata of a single announcement by ID.
Inputs: announcement_id (required).
announcements_feedCInspect
Latest listed company announcements and regulatory filings stream.
Inputs: limit, offset.
announcements_searchBInspect
Search historical and recent company announcements by keyword or category.
Inputs: query (required), to, code, from, +1 more.
announcements_stockCInspect
List announcements for a specific listed company.
Inputs: code (required), limit, offset.
bars_batchCInspect
Batch OHLCV bars for multiple securities (daily or minute bars).
Inputs: codes (required), limit, period.
calendar_reportsCInspect
Scheduled earnings report release calendar.
Inputs: to, from.
calendar_upcomingBInspect
Upcoming confirmed corporate and earnings calendar events.
Inputs: days.
chartCInspect
Historical OHLCV chart series for a single security.
Inputs: code (required), to, from, limit, +1 more.
concepts_alertsCInspect
Real-time breakout and anomaly alerts across concept boards.
Inputs: limit.
concepts_daily_barsBInspect
Daily historical OHLCV bars for a concept board index.
Inputs: concept_id (required), limit.
concepts_listCInspect
List 300+ thematic concept and industry boards.
Inputs: kind.
concepts_minute_barsCInspect
Intraday minute bars for a concept board index.
Inputs: concept_id (required), limit.
concepts_newsCInspect
News and catalysts associated with a specific concept board.
Inputs: concept_id (required), limit.
concepts_showBInspect
Get constituent securities and metadata for a specific concept board.
Inputs: concept_id (required).
concepts_snapshotBInspect
Real-time snapshots for concept boards (change %, 3-min speed, capital flows, and leading stocks).
Inputs: codes.
concepts_viewsCInspect
Broker research views grouped under a specific concept board.
Inputs: concept_id (required), limit.
digestAInspect
One-shot research bundle for a single stock: analyst views, quote, valuation, sentiment, news, ownership, and margin.
Inputs: code (required).
dragon_tiger_dailyCInspect
Daily Dragon-Tiger List (龙虎榜) institutional & hot-money seat activity.
Inputs: trade_date.
dragon_tiger_stockCInspect
Dragon-Tiger List history and trading seat breakdown for a specific stock.
Inputs: code (required).
earnings_recentCInspect
Recent earnings previews and preliminary financial announcements.
Inputs: limit.
events_upcomingCInspect
Forward-looking market catalysts and corporate events extracted from filings and research.
Inputs: code, days.
financials_pitCInspect
Point-in-time (PIT) financial snapshot avoiding look-ahead bias.
Inputs: code (required), as_of.
financials_quote_snapshotBInspect
Valuation multiples (PE, PB, PS, market cap) aligned with latest market quote.
Inputs: code (required).
financials_reportsBInspect
Retrieve periodic financial statements (income statement, balance sheet, cash flow) for a stock.
Inputs: code (required), limit.
financials_seriesCInspect
Multi-period financial indicator time series for historical comparison.
Inputs: code (required), limit.
index_snapshotCInspect
Real-time snapshots for major market indices.
Inputs: codes.
limit_up_analysisCInspect
Catalyst and theme attribution breakdown for limit-up stocks.
Inputs: trade_date.
limit_up_historyCInspect
Historical limit-up track record for a stock or trading date.
Inputs: code, trade_date.
limit_up_poolCInspect
Daily limit-up stock pool with first/last seal times, consecutive board counts, seal amount, and break counts.
Inputs: trade_date.
limit_up_summaryCInspect
Market-wide limit-up promotion rates, consecutive board ladder, and sealing statistics.
Inputs: trade_date.
lookupAInspect
Resolve a Chinese company name, bare ticker (600519), or pinyin initials (gzmt) to canonical codes (SSE:600519).
Inputs: text (required), limit.
market_digestBInspect
High-level market digest summarizing index performance, movers, and key headlines.
Inputs: no named parameters.
market_statusAInspect
Get current China equity trading session (pre_open, auction, open, break, closed), trading calendar, and last trading day.
Inputs: no named parameters.
newsBInspect
Real-time financial news and market briefs stream. Filter by security code or keyword query.
Inputs: to, code, from, hours, +4 more.
ownership_lockupsCInspect
Upcoming restricted share lockup expirations and unlock ratios.
Inputs: code, days.
ownership_showBInspect
Major shareholders, institutional holdings, and equity ownership changes.
Inputs: code (required).
quoteBInspect
Real-time quote snapshots for 1–200 A-share securities (last price, volume, pct_change, call auction block, industry, concept, and capital flows).
Inputs: codes (required), include_l2.
reportAInspect
Retrieve full-text archived broker research report by view_id (when full_text_available=true).
Inputs: view_id (required), limit, format, offset.
scanAInspect
Whole-market equity scanner with server-side filtering and ranking (e.g. sort by pct_change, main_net_in, amount, turnover_rate, speed_3min).
Inputs: sort, limit, order, concept_id, +1 more.
searchCInspect
Semantic search across securities, news, research views, and market entities.
Inputs: query (required), limit.
sentiment_breadthCInspect
Advance/decline counts, moving-average breadth, and 52-week high/low ratios.
Inputs: trade_date.
sentiment_overviewCInspect
Quantified market sentiment overview: limit-up/down counts, breadth, divergence index, and turnover forecast.
Inputs: trade_date.
sentiment_pct_distributionCInspect
Market-wide return percentage distribution buckets across all listed stocks.
Inputs: trade_date.
sentiment_turnoverCInspect
Market-wide intraday turnover tracking and full-day volume prediction.
Inputs: trade_date.
usageAInspect
Check monthly credit usage and remaining balance for consumer API keys.
Inputs: no named parameters.
viewsBInspect
Query recent sell-side broker research views, ratings, and analyst attribution. Pass report_only=true to find views with archived full-text reports.
Inputs: code, limit, fields, offset, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 50 tools
Several tools have fuzzy boundaries: whoami (scopes, rate limits, monthly quota) vs usage (credit usage and remaining balance), financials_reports vs financials_series vs financials_pit, and calendar_upcoming vs events_upcoming all appear to answer nearly the same question. chart vs bars_batch and digest vs market_digest also create name-level confusion, though descriptions mostly disambiguate.
There is a clear resource-prefix grouping (concepts_*, limit_up_*, sentiment_*, financials_*, announcements_*, dragon_tiger_*), which is readable. However, action verbs are inconsistent (show / detail / get / snapshot / quote / list), and many core tools are bare nouns (quote, chart, search, views, report, digest, news, scan, hot), so there is no single predictable convention.
50 tools is at the top of the range the rubric treats as too many; even for a broad A-share data platform this is a heavy surface that raises selection cost for agents. While most tools map to real sub-domains, the granular splitting (eight concepts_* tools, four sentiment_* tools, four financials_* tools) inflates the count.
Coverage is strong across quotes, bars, fundamentals, ownership, calendars, news, research reports, concepts, scanners, limit-up analysis, dragon-tiger seats, and sentiment, with account/meta tools included. Minor gaps remain around fund/ETF and macro data, and there is no watchlist/portfolio construct, but no obvious dead ends for the stated equity-data purpose.
Maintenance
Related MCP Connectors
China A-share market data for research, backtesting and AI agents via MCP.
Financial data and research MCP for US/CN/JP equities: filings, statements, ownership, signals.
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.
MCP server for real-time China A-share stock quotes, indices and market data.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that wraps SFC financial data API into 32 tools for comprehensive A-share market data, including real-time quotes, rankings, limit-up statistics, news, themes, financials, charts, research reports, and watchlists.-
- AlicenseAqualityCmaintenanceStructured A-share announcement event feed. 16 MCP tools, 13 event types.161MIT
- FlicenseNot gradedqualityDmaintenanceUnified MCP server for Chinese stock market data that batches multiple data requests (news, insider trading, financials, historical K-line, etc.) into a single call.-
- AlicenseNot gradedqualityCmaintenanceProvides 11 composable MCP tools for A-share market research, covering quotes, news, technical signals, sector performance, portfolio risk, backtesting, and paper trading, with traceable data sources and calculation basis.MIT