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.1.9.tar.gz (11.6 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.9-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vearne_akshare_mcp-0.1.9.tar.gz
  • Upload date:
  • Size: 11.6 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.1.9.tar.gz
Algorithm Hash digest
SHA256 3af77060f4653fdbff68d76ed7c9c512b9919d95083de79ea057fd5c3b6f683f
MD5 a45230b5d39298c71a9e08689d588ae0
BLAKE2b-256 abe5b253c45d3e1069751e686a2355109e31186702b04d0fbf4fa3aede6b13f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vearne_akshare_mcp-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 33790115658bea94d83b3017321c12aa317b05d46d89b2a8cc3374bc7de8e12e
MD5 3ac2d24fc2521af969219c4283c246c7
BLAKE2b-256 31cb66540311c924737171d4b41e2657368c7e0f1512ac0c4433a7ec57c7ef8d

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