Install, update, and read a local Qlib China A-share daily dataset, with checksums and rollback.
Connect Runs on your machine
claude mcp add qlib-sync -e QLIB_SYNC_DATA_DIR=<QLIB_SYNC_DATA_DIR> -e QLIB_SYNC_MIRROR=<QLIB_SYNC_MIRROR> -- uvx qlib-sync==0.2.0
{
"mcpServers": {
"qlib-sync": {
"command": "uvx",
"args": [
"qlib-sync==0.2.0"
],
"env": {
"QLIB_SYNC_DATA_DIR": "<QLIB_SYNC_DATA_DIR>",
"QLIB_SYNC_MIRROR": "<QLIB_SYNC_MIRROR>"
}
}
}
}
{
"mcpServers": {
"qlib-sync": {
"command": "uvx",
"args": [
"qlib-sync==0.2.0"
],
"env": {
"QLIB_SYNC_DATA_DIR": "<QLIB_SYNC_DATA_DIR>",
"QLIB_SYNC_MIRROR": "<QLIB_SYNC_MIRROR>"
}
}
}
}
{
"servers": {
"qlib-sync": {
"type": "stdio",
"command": "uvx",
"args": [
"qlib-sync==0.2.0"
],
"env": {
"QLIB_SYNC_DATA_DIR": "<QLIB_SYNC_DATA_DIR>",
"QLIB_SYNC_MIRROR": "<QLIB_SYNC_MIRROR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
QLIB_SYNC_DATA_DIROptional | Dataset folder; defaults to ~/.qlib/qlib_data/cn_data |
QLIB_SYNC_MIRROROptional | Optional prefix-style GitHub proxy for slow connections, e.g. https://ghfast.top |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 13 Nov 2026 |
| Last updated | 13 Nov 2026 |
| Registry name | io.github.randyy179/qlib-sync |
More data and analytics servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
