qlib-sync: China A-share data for LangChain
io.github.randyy179/qlib-sync
Install, update, and read a local Qlib China A-share daily dataset, with checksums and rollback.
client:LangChain
transport:stdio
runtime:pypi
Install qlib-sync: China A-share data in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"qlib-sync": {
"transport": "stdio",
"command": "uvx",
"args": ["qlib-sync"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs