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"]
    }
}

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.1.8.tar.gz (10.0 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.1.8-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vearne_akshare_mcp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 dc38e9f9e180c06feaedb8f8467413d95e1861dafe7dfbe1bcbb90bbf6deed40
MD5 af2303f3253c145c9e87b4c94e2a2119
BLAKE2b-256 ae547d36baca301a668f1634449e0a7b0763590e32c933f5765e8f6d9e0efb86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vearne_akshare_mcp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9e52312d4666f2665a0dc8065e8162aa7b5fcdc8be72984149a80208aeeca1a5
MD5 ae9ef08917baaa02da8d193d5d639967
BLAKE2b-256 8a84b131bac5cd5dc8a99bf61f3e9066c329d4a9aeaa34deede8975df839907f

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