akshare-one-mcp
AKShare One MCP 서버
akshare-one 기반의 MCP 서버로, 중국 주식 시장 데이터 인터페이스를 제공합니다. 과거 주식 데이터, 실시간 데이터, 뉴스 데이터, 재무제표 등 재무 정보를 검색하는 도구 세트를 제공합니다.
도구
get_hist_data
과거 주식 데이터 가져오기 입력 매개변수:
기호(문자열): 주식 코드
간격(문자열): 시간 간격('분','시','일','주','월','년')
interval_multiplier(숫자, 선택 사항): 간격 배수(기본값: 1)
start_date(문자열, 선택 사항): YYYY-MM-DD 형식의 시작 날짜(기본값: '1970-01-01')
end_date(문자열, 선택 사항): YYYY-MM-DD 형식의 종료 날짜(기본값: '2030-12-31')
조정(문자열, 선택 사항): 조정 유형('none', 'qfq', 'hfq')(기본값: 'none')
소스(문자열, 선택 사항): 데이터 소스('eastmoney', 'sina')(기본값: 'eastmoney')
get_realtime_data
실시간 주식 데이터 입력 매개변수를 얻으세요:
symbol(문자열, 선택 사항): 주식 코드
소스(문자열, 선택 사항): 데이터 소스(기본값: 'eastmoney')
get_news_data
주식 관련 뉴스 데이터 가져오기 입력 매개변수:
기호(문자열): 주식 코드
소스(문자열, 선택 사항): 데이터 소스(기본값: 'eastmoney')
get_balance_sheet
회사 대차대조표 데이터 입력 매개변수 가져오기:
기호(문자열): 주식 코드
소스(문자열, 선택 사항): 데이터 소스(기본값: 'sina')
get_income_statement
회사 손익계산서 데이터 가져오기 입력 매개변수:
기호(문자열): 주식 코드
소스(문자열, 선택 사항): 데이터 소스(기본값: 'sina')
get_cash_flow
회사 현금 흐름표 데이터 입력 매개변수 가져오기:
기호(문자열): 주식 코드
소스(문자열, 선택 사항): 데이터 소스(기본값: 'sina')
get_inner_trade_data
회사 내부자 거래 데이터 입력 매개변수 가져오기:
symbol(문자열, 선택 사항): 주식 코드
source(문자열, 선택 사항): 데이터 소스(기본값: 'xueqiu')
Related MCP server: A股实时行情MCP服务器
사용 지침
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 akshare-one-mcp를 자동으로 설치하려면:
지엑스피1
uv 를 통해 설치
uv를 사용하여 PyPI에서 직접 설치:
uv pip install akshare-one-mcp다음 구성을 추가합니다.
"mcpServers": {
"akshare-one-mcp": {
"command": "uvx",
"args": ["akshare-one-mcp"]
}
}로컬 소스 코드를 통해 설치
이 저장소를 복제하세요:
git clone https://github.com/zwldarren/akshare-one-mcp.git cd akshare-one-mcp아직 uv를 설치하지 않았다면 설치하세요.
종속성 설치:
uv sync다음 구성을 추가합니다.
"mcpServers": { "akshare-one-mcp": { "command": "uv", "args": [ "--directory", "/path/to/akshare-one-mcp", "run", "akshare-one-mcp" ] } }
Available Tools
10 toolsget_balance_sheetGet Balance SheetAInspect
Get company balance sheet data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct', starting with the requested one.
Inputs: symbol (required), source, fallback, recent_n. Returns: result
get_cash_flowGet Cash FlowAInspect
Get company cash flow statement data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct', starting with the requested one.
Inputs: symbol (required), source, fallback, recent_n. Returns: result
get_financial_metricsGet Financial MetricsAInspect
Get key financial metrics from the three major financial statements.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct', starting with the requested one.
Inputs: symbol (required), source, fallback, recent_n. Returns: result
get_hist_dataGet Hist DataAInspect
Get historical stock market data. 'eastmoney_direct' support all A,B,H shares
With fallback on, the sources are tried as 'eastmoney', 'eastmoney_direct', 'sina' and 'ths', starting with the requested one.
Inputs: symbol (required), adjust, source, end_date, +6 more. Returns: result
get_income_statementGet Income StatementAInspect
Get company income statement data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct', starting with the requested one.
Inputs: symbol (required), source, fallback, recent_n. Returns: result
get_inner_trade_dataGet Inner Trade DataBInspect
Get company insider trading data.
Inputs: symbol (required). Returns: result
get_news_dataGet News DataAInspect
Get stock-related news data.
With fallback on, the sources are tried as 'eastmoney' and 'ths', starting with the requested one.
Inputs: symbol (required), source, fallback, recent_n. Returns: result
get_realtime_dataGet Realtime DataAInspect
Get real-time stock market data. 'eastmoney_direct' support all A,B,H shares
With fallback on, the sources are tried as 'eastmoney_direct', 'eastmoney', 'xueqiu' and 'ths', starting with the requested one.
Inputs: source, symbol, fallback. Returns: result
get_time_infoGet Time InfoBInspect
Get current time with ISO format, timestamp, and the last trading day.
Inputs: no named parameters. Returns: object
get_valuationGet ValuationAInspect
Get daily valuation history: PE (TTM and static), PB, PEG, price/cash, price/sales, share counts and market cap.
The upstream is Eastmoney's per-stock valuation series, called through akshare rather than akshare-one: akshare-one has no valuation domain yet, so there is no ako.get_valuation to route through and nothing in providers.py to fall back over. Every other data tool goes through that layer, and this one should move onto it as soon as upstream gains the domain.
No other source publishes the same daily panel, so there is no source or fallback parameter: a failure surfaces instead of being answered from a series with different fields.
Unlike the other tools, the records keep the upstream's Chinese field names verbatim (数据日期, PE(TTM), ...), because akshare-one's English vocabulary does not cover this domain and inventing one here would pre-empt it.
Inputs: symbol (required), recent_n. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool maps to a distinct data domain: valuation, the three statements, derived metrics, historical vs. real-time prices, news, insider trades, and time info. The only mild overlap is get_financial_metrics versus the individual statement tools, though the derived-metrics framing keeps them separable. The get_valuation description also signals an inconsistent output vocabulary (Chinese field names) that an agent must notice, but it doesn't confuse tool selection.
Every tool follows the same get_<noun> snake_case pattern, e.g. get_balance_sheet, get_hist_data, get_realtime_data. No mixed conventions or stray verbs; the surface reads predictably.
Ten tools is a well-scoped set for an A-share market data server, with each entry covering a distinct data family. Nothing appears redundant or padded.
The core surface is strong: fundamentals (three statements + metrics + valuation), price history, real-time quotes, news, insider trades, and a time helper for the last trading day. Notable gaps remain around symbol resolution (no search/list-tickers tool to map a company name to a code) and adjacent data like dividends or index/macro series, which agents will have to work around externally.
Maintenance
Related MCP Connectors
MCP server for real-time China A-share stock quotes, indices and market data.
China A-share & equity research MCP server (回声投研) for market quotes, filings, financials, fund flows, concepts & sentiment.
China A-share market data for research, backtesting and AI agents via MCP.
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
- 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.-
- AlicenseNot gradedqualityDmaintenance基于Model Context Protocol (MCP) 的A股实时行情查询服务器,支持查询A股实时价格、历史K线数据、财务信息及市场概况。8MIT
- FlicenseNot gradedqualityDmaintenance提供股票数据查询的MCP服务器,支持股票信息、K线历史、财务指标等市场数据获取。1-
- AlicenseAqualityDmaintenanceAn MCP server that gives AI assistants direct, structured access to China A-share market data.3Apache 2.0