Skip to main content

An MCP server capable of retrieving A-share, Hong Kong stock, and U.S. stock data using AkShare.

Project description

akshare-mcp

an MCP server capable of retrieving A-share, Hong Kong stock, and U.S. stock data using AkShare.

Usage

1. Install and Run

pip install vearne-akshare-mcp

Method 1: Run with transport 'stdio'

python3 -m vearne_akshare_mcp

Method 2: Run with transport 'streamable-http'

python3 -m vearne_akshare_mcp --http --bind="127.0.0.1" --port=8090

Server URL: http://127.0.0.1:8090/mcp/

2. use with uvx

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

3 develop

cd src/vearne_akshare_mcp


Thanks

akfamily/akshare

Inspired by akshare-one-mcp

zwldarren/akshare-one-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vearne_akshare_mcp-0.2.2.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vearne_akshare_mcp-0.2.2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file vearne_akshare_mcp-0.2.2.tar.gz.

File metadata

  • Download URL: vearne_akshare_mcp-0.2.2.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vearne_akshare_mcp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1f606a0d9b2936d0289c5342f8ff54633d0db8cce864af215ec26cadd387075c
MD5 f2e57ecf160d7a7ba70c12c96860cd0a
BLAKE2b-256 1705f3083961c9f488372012869769470873a17bdbc548e348f62afa2cc14883

See more details on using hashes here.

File details

Details for the file vearne_akshare_mcp-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for vearne_akshare_mcp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba338741461c4983404ce0c1a55d097651a70602527a0c1c3810a5ac56a65581
MD5 308cab6052ccb6b3ae68d1fadbde6a38
BLAKE2b-256 539d8cf58ff59d114825035765ed169ad84e350f22aac51b86b885b80ae77f41

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page