ZA

zwldarren/akshare-one-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

240 stars 53 forks 품질 82 트렌드 38MIT

zwldarren/akshare-one-mcp는 https://github.com/zwldarren/akshare-one-mcp.에서 가져온 MCP 서버 후보입니다.

개요

zwldarren/akshare-one-mcp는 https://github.com/zwldarren/akshare-one-mcp.에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

영어 | 中文

개요

akshare-one 기반 MCP 서버로, 중국 주식시장 데이터를 위한 포괄적인 인터페이스를 제공합니다. 과거 주식 데이터, 실시간 데이터, 뉴스 데이터, 재무제표 등 재무 정보를 검색하는 강력한 도구 세트를 제공합니다.

사용 가능한 도구

자동 소스 백업

get_news_data와 [get_inner_trade_data를 제외하고, 상류가 단일 소스를 노출하는 경우를 제외하고, 모든 도구는 선호하는 데이터 소스에 대해 source 매개변수를, fallback 매개변수(기본값으로)를 받아 해당 소스가 raise 또는 반환 빈 프레임**을 반환할 때 시도할지 결정합니다:

도메인 주문 시도
역사적 eastmoney → eastmoney_direct → sina
실시간 eastmoney_direct → eastmoney → xueqiu (기호가 없으면 건너뛸)
재무제표 sina ⇄ eastmoney_direct

요청된 source가 항상 먼저 시도되며; 순서는 단지 대체 상태를 지배합니다. akshare-one은 모든 소스를 도메인의 선언된 열에 투영하기 때문에, 후퇴는 필드 이름이나 순서를 변경할 수 없습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

AKShare One MCP Server

Overview

An MCP server based on akshare-one, providing comprehensive interfaces for China stock market data. It offers a set of powerful tools for retrieving financial information including historical stock data, real-time data, news data, and financial statements.

Available Tools

Automatic source fallback

Except for get_inner_trade_data, whose upstream exposes a single source, every data tool takes a source parameter for the preferred data source and a fallback parameter (on by default) that decides whether the other sources of the same domain are tried when that source raises or returns an empty frame:

Domain Order tried
Historical eastmoney → eastmoney_direct → sina → ths
Real-time eastmoney_direct → eastmoney → xueqiu → ths (the last two are skipped when no symbol is given)
News eastmoney → ths
Financial statements sina ⇄ eastmoney_direct

The requested source is always tried first; the order only governs the fallback. Because akshare-one projects every source onto its domain’s declared columns, falling back cannot change the field names or their order. When every source fails, the error lists each one and why it failed; when every source succeeds but has no data, an empty result is returned. Set fallback to false to pin a single source — a failure then surfaces directly, which is useful when you need to know exactly where the numbers came from.

The source that actually served a call is logged under the akshare_one_mcp.providers logger.

Market Data Tools

get_hist_data

Get historical stock market data with support for multiple time periods and adjustment methods.

  • symbol (string, required): Stock code (e.g. ‘000001’)
  • interval (string, optional): Time interval (‘minute’,‘hour’,‘day’,‘week’,‘month’,‘year’) (default: ‘day’)
GitHub에서 전체 README 보기

설치

uvx akshare-one-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "akshare-one-mcp": { "command": "uvx", "args": ["akshare-one-mcp"] } } }