qlib-sync: China A-share data
io.github.randyy179/qlib-sync
Install, update, and read a local Qlib China A-share daily dataset, with checksums and rollback.
- Repository
- github.com/randyy179/qlib-sync
- Version
- 0.2.0
- Author
- randyy179 (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 13, 2026)
How to install it
Variables to fill in: QLIB_SYNC_DATA_DIR, QLIB_SYNC_MIRROR.
On your machine
Claude Code
The server runs on your machine (pypi package). In a terminal:
claude mcp add qlib-sync -e QLIB_SYNC_DATA_DIR=YOUR_QLIB_SYNC_DATA_DIR -e QLIB_SYNC_MIRROR=YOUR_QLIB_SYNC_MIRROR -- uvx [email protected] mcpClaude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"qlib-sync": {
"command": "uvx",
"args": [
"[email protected]",
"mcp"
],
"env": {
"QLIB_SYNC_DATA_DIR": "YOUR_QLIB_SYNC_DATA_DIR",
"QLIB_SYNC_MIRROR": "YOUR_QLIB_SYNC_MIRROR"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"qlib-sync": {
"command": "uvx",
"args": [
"[email protected]",
"mcp"
],
"env": {
"QLIB_SYNC_DATA_DIR": "YOUR_QLIB_SYNC_DATA_DIR",
"QLIB_SYNC_MIRROR": "YOUR_QLIB_SYNC_MIRROR"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"qlib-sync": {
"type": "stdio",
"command": "uvx",
"args": [
"[email protected]",
"mcp"
],
"env": {
"QLIB_SYNC_DATA_DIR": "YOUR_QLIB_SYNC_DATA_DIR",
"QLIB_SYNC_MIRROR": "YOUR_QLIB_SYNC_MIRROR"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.randyy179/qlib-sync)HTML
<a href="https://lagora.dev/en/entry/io.github.randyy179/qlib-sync"><img src="https://lagora.dev/badge/io.github.randyy179/qlib-sync.svg?lang=en" alt="io.github.randyy179/qlib-sync on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.