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": ["--from", "vearne-akshare-mcp", "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.0.7.tar.gz (8.5 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.0.7-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vearne_akshare_mcp-0.0.7.tar.gz
  • Upload date:
  • Size: 8.5 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.0.7.tar.gz
Algorithm Hash digest
SHA256 681559dd1efee45c237cd115169a7940d4f83c8c668d242736aa4cd8ccc5b074
MD5 f1edf325600af424a34f6f14258c3395
BLAKE2b-256 c4f6d6ece5a5fff27421a353b4e45377976b08e3ddb85246a2b99726cfe81c37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vearne_akshare_mcp-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 09c01bfd31d63198970d7e828c06d4b02ea2bcef4c35cb6e5e0dfbda2277aef3
MD5 3b6547951d4976b63bf009e1e7a79e8c
BLAKE2b-256 1b4e1dc1740d28b3482430b43914265ecdc280bb15d1ca2e69e556c6af0dbc07

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