Price Per TokenPrice Per Token
AKShare One MCP Server

AKShare One MCP Server

by zwldarren

GitHub 115 5,015 uses Remote
0

About

AKShare One MCP Server is a comprehensive data access layer for Chinese stock markets that retrieves historical prices, real-time quotes, financial news, and corporate financial statements through the AKShare data library. Key features include: - Historical market data with flexible time intervals (minute, hour, day, week, month, year) and adjustment methods (none, forward-adjusted, backward-adjusted) - Real-time stock quotes from data sources including Eastmoney and Xueqiu - Company financial statements including balance sheets, income statements, and cash flow statements - Stock-related news feeds for market sentiment analysis - Multiple data source support (Eastmoney, Sina, Xueqiu) for reliable coverage of Chinese equities - Technical indicator integration for quantitative analysis

Tools 9

get_hist_data

Get historical stock market data. 'eastmoney_direct' support all A,B,H shares

get_realtime_data

Get real-time stock market data. 'eastmoney_direct' support all A,B,H shares

get_news_data

Get stock-related news data.

get_balance_sheet

Get company balance sheet data.

get_income_statement

Get company income statement data.

get_cash_flow

Get company cash flow statement data.

get_inner_trade_data

Get company insider trading data.

get_financial_metrics

Get key financial metrics from the three major financial statements.

get_time_info

Get current time with ISO format, timestamp, and the last trading day.

README

AKShare One MCP Server

English | 中文

[](https://smithery.ai/server/@zwldarren/akshare-one-mcp)

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

Market Data Tools

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

Parameters

  • symbol (string, required): Stock code (e.g. '000001')
  • interval (string, optional): Time interval ('minute','hour','day','week','month','year') (default: 'day')
  • interval_multiplier (number, optional): Interval multiplier (default: 1)
  • start_date (string, optional): Start date in YYYY-MM-DD format (default: '1970-01-01')
  • end_date (string, optional): End date in YYYY-MM-DD format (default: '2030-12-31')
  • adjust (string, optional): Adjustment type ('none', 'qfq', 'hfq') (default: 'none')
  • source (string, optional): Data source ('eastmoney', 'eastmoney_direct', 'sina') (default: 'eastmoney')
  • indicators_list (list, optional): Technical indicators to add
  • recent_n (number, optional): Number of most recent records to return (default: 100)
  • #### get_realtime_data Get real-time stock market data.

    Parameters

  • symbol (string, optional): Stock code
  • source (string, optional): Data source ('xueqiu', 'eastmoney', 'eastmoney_direct') (default: 'eastmoney_direct')
  • News & Information Tools

    #### get_news_data Get stock-related news data.

    Parameters

  • symbol (string, required): Stock code
  • recent_n (number, optional): Number of most recent records to return (default: 10)
  • Financial Statement Tools

    #### get_balance_sheet Get company balance sheet data.

    Parameters

  • symbol (string, required): Stock code
  • recent_n (number, optional): Number of most recent records to return (default: 10)
  • #### get_income_statement Get company income statement data.

    Parameters

  • symbol (string, required): Stock code
  • recent_n (number, optional): Number of most recent records to return (default: 10)
  • #### get_cash_flow Get company cash flow statement data.

    Parameters

  • symbol (string, required): Stock code
  • source (string, optional): Data source (default: 'sina')
  • recent_n (number, optional): Number of most recent records to return (default: 10)
  • Analysis & Metrics Tools

    #### get_inner_trade_data Get company insider trading data.

    Parameters

  • symbol (string, required): Stock code
  • #### get_financial_metrics Get key financial metrics from the three major financial statements.

    Parameters

  • symbol (string, required): Stock code
  • recent_n (number, optional): Number of most recent records to return (default: 10)
  • #### get_time_info Get current time with ISO format, timestamp, and the last trading day.

    Installation & Setup

    Running Modes

    The server supports two modes: stdio and streamable-http

    Command Line Arguments:

  • --streamable-http: Enable HTTP mode (default: stdio mode)
  • --host: Host to bind to in HTTP mode (default: 0.0.0.0)
  • --port: Port to listen on in HTTP mode (default: 8081)
  • > Note: When using streamable-http mode, the MCP server will be available at http://{host}:{port}/mcp. For the default configuration, this would be http://0.0.0.0:8081/mcp.

    Installation Options

    #### Option 1: Via Smithery To install akshare-one-mcp for Claude Desktop automatically via Smithery:

    npx -y @smithery/cli install @zwldarren/akshare-one-mcp --client claude
    

    #### Option 2: Via uv Install [uv]() if you haven't already.

    Add the following configuration to your MCP Client settings:

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

    #### Option 3: Local Development Setup

    1. Clone this repository:

       git clone https://github.com/zwldarren/akshare-one-mcp.git
       cd akshare-one-mcp
       

    2. Install

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81