zwldarren

AKShare One MCP Server

Community zwldarren
Updated

MCP server that provides access to Chinese stock market data using akshare-one

AKShare One MCP Server

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

Tools

get_hist_data

Get historical stock dataInput parameters:

  • symbol (string): Stock code
  • interval (string): Time interval ('minute','hour','day','week','month','year')
  • 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', 'sina') (default: 'eastmoney')

get_realtime_data

Get real-time stock dataInput parameters:

  • symbol (string, optional): Stock code
  • source (string, optional): Data source (default: 'eastmoney')

get_news_data

Get stock-related news dataInput parameters:

  • symbol (string): Stock code
  • source (string, optional): Data source (default: 'eastmoney')

get_balance_sheet

Get company balance sheet dataInput parameters:

  • symbol (string): Stock code
  • source (string, optional): Data source (default: 'sina')

get_income_statement

Get company income statement dataInput parameters:

  • symbol (string): Stock code
  • source (string, optional): Data source (default: 'sina')

get_cash_flow

Get company cash flow statement dataInput parameters:

  • symbol (string): Stock code
  • source (string, optional): Data source (default: 'sina')

get_inner_trade_data

Get company insider trading dataInput parameters:

  • symbol (string, optional): Stock code
  • source (string, optional): Data source (default: 'xueqiu')

Usage Instructions

Preparation

  1. Clone this repository:

    git clone https://github.com/zwldarren/akshare-one-mcp.git
    cd akshare-one-mcp
    
  2. Install uv if you haven't already.

  3. Install dependencies:

    uv sync
    

Connect to Any MCP Client

Add the following configuration to the MCP server configuration file:

"mcpServers": {
    "akshare-one-mcp": {
        "command": "uv",
        "args": [
            "--directory",
            "/path/to/akshare-one-mcp",
            "run",
            "akshare-one-mcp"
        ]
    }
}

MCP Server · Populars

MCP Server · New

    TBXark

    MCP Proxy Server

    An MCP proxy server that aggregates and serves multiple MCP resource servers through a single HTTP server.

    Community TBXark
    lpigeon

    ros-mcp-server

    The ROS MCP Server is designed to facilitate the control of robotic movement by providing a set of functions that allow for precise manipulation of linear and angular velocities.

    Community lpigeon
    emicklei

    melrose-mcp

    interactive programming of melodies, producing MIDI

    Community emicklei
    browserstack

    BrowserStack MCP Server

    BrowserStack's Official MCP Server

    Community browserstack
    damms005

    DevDb

    A zero-config VS Code database extension with affordances to aid development and debugging.

    Community damms005