qlib-sync MCP
Provides an MCP server that allows AI assistants to read a local Qlib China A-share dataset. It handles safe installation, updates, verification, and rollback of the daily community release from chenditc/investment_data, ensuring data integrity and availability for financial analysis tasks.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Read local Qlib China A-share daily dataset
- Install and update dataset with checksums
- Perform health checks on dataset structure
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
qlib-sync 0.1.1
{
"version": "0.1.1",
"transport": "stdio",
"identifier": "qlib-sync",
"runtimeHint": "uvx",
"registryType": "pypi",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"runtimeArguments": [
{
"name": "--python",
"type": "named",
"value": "3.12"
}
],
"environmentVariables": [
{
"name": "QLIB_SYNC_DATA_DIR",
"description": "Dataset folder; defaults to ~/.qlib/qlib_data/cn_data"
},
{
"name": "QLIB_SYNC_MIRROR",
"description": "Optional prefix-style GitHub proxy for slow connections, e.g. https://ghfast.top"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"qlib-sync-mcp": {
"command": "uvx",
"args": [
"qlib-sync==0.1.1",
"mcp"
],
"env": {
"QLIB_SYNC_DATA_DIR": "<YOUR_QLIB_SYNC_DATA_DIR>",
"QLIB_SYNC_MIRROR": "<YOUR_QLIB_SYNC_MIRROR>"
}
}
}
}Cline
{
"mcpServers": {
"qlib-sync-mcp": {
"command": "uvx",
"args": [
"qlib-sync==0.1.1",
"mcp"
],
"env": {
"QLIB_SYNC_DATA_DIR": "<YOUR_QLIB_SYNC_DATA_DIR>",
"QLIB_SYNC_MIRROR": "<YOUR_QLIB_SYNC_MIRROR>"
}
}
}
}VS Code
{
"servers": {
"qlib-sync-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"qlib-sync==0.1.1",
"mcp"
],
"env": {
"QLIB_SYNC_DATA_DIR": "<YOUR_QLIB_SYNC_DATA_DIR>",
"QLIB_SYNC_MIRROR": "<YOUR_QLIB_SYNC_MIRROR>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"qlib-sync-mcp": {
"command": "uvx",
"args": [
"qlib-sync==0.1.1",
"mcp"
],
"env": {
"QLIB_SYNC_DATA_DIR": "<YOUR_QLIB_SYNC_DATA_DIR>",
"QLIB_SYNC_MIRROR": "<YOUR_QLIB_SYNC_MIRROR>"
}
}
}
}Let your agent find its tools
Find servers like qlib-sync MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.