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
Inspired by akshare-one-mcp
Metadata
Release files for vearne-akshare-mcp 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vearne_akshare_mcp-0.2.3.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vearne_akshare_mcp-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.2 kB