{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_66z55r2sgdqx","handle":"zizhenghua-mcp","url":"https://wellknown.network/agents/zizhenghua-mcp","links":{"self":"https://wellknown.network/agents/zizhenghua-mcp/record.json","html":"https://wellknown.network/agents/zizhenghua-mcp","markdown":"https://wellknown.network/agents/zizhenghua-mcp/record.md","api":"https://wellknown.network/api/v1/agents/zizhenghua-mcp","status":"https://wellknown.network/api/v1/agents/zizhenghua-mcp/status","claim":"https://wellknown.network/agents/zizhenghua-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/zizhenghua-mcp/claim.json","badge":"https://wellknown.network/agents/zizhenghua-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/zizhenghua-mcp/history","tools":"https://wellknown.network/api/v1/agents/zizhenghua-mcp/tools"},"ard":{"identifier":"urn:air::server:zizhenghua-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"zizhenghua-mcp","summary":"MCP Server for Quant Data API - A-share market data, backtest, and AI strategy generation","description":"Quant Data MCP Server \n \n[![PyPI](https://img.shields.io/pypi/v/zizhenghua-mcp.svg)](https://pypi.org/project/zizhenghua-mcp/) \n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) \n[![Python](https://img.shields.io/pypi/pyversions/zizhenghua-mcp.svg)](https://pypi.org/project/zizhenghua-mcp/) \n \nMCP Server for [Quant Data API](https://zizhenghua.com). \n \n让 Claude Desktop / Cursor 等 MCP 客户端能直接调 A 股数据、跑回测、生成策略代码。 \n \n--- \n \n## ✨ 功能 \n \n- 📈 个股实时行情 \n- 📊 个股 K 线 \n- 📉 市场统计 \n- 🏭 行业涨跌幅 \n- 🔍 多条件选股 \n- 💰 财务指标（最新 + 历史） \n- 🧮 多因子综合排名 \n- ⚙️ **策略回测**（单股 / 多股） \n- 🔧 **参数自动寻优**（网格搜索最佳止损/止盈） \n- 🤖 **AI 生成策略代码**（自然语言 → Python / Java） \n- 🎯 **组合分析**（一次调用返回行情 + 财务 + 因子 + 技术信号） \n \n--- \n \n## 📦 安装 \n \n```bash \npip install zizhenghua-mcp \n或从源码： \n \nbash \ngit clone https://github.com/Zizhenghua/quant-data-mcp.git \ncd quant-data-mcp \npip install -e . \n🚀 配置 \nClaude Desktop \n编辑配置文件： \n \nWindows：%APPDATA%\\Claude\\claude_desktop_config.json \n \nMac：~/Library/Application Support/Claude/claude_desktop_config.json \n \n内容： \n \njson \n{ \n  \"mcpServers\": { \n    \"quant-data\": { \n      \"command\": \"python\", \n      \"args\": [\"-m\", \"quant_data_mcp.server\"], \n      \"env\": { \n        \"QUANT_API_KEY\": \"\" \n      } \n    } \n  } \n} \nCursor \n在 Cursor 设置里加 MCP Server，或编辑 ~/.cursor/mcp.json： \n \njson \n{ \n  \"mcpServers\": { \n    \"quant-data\": { \n      \"command\": \"python\", \n      \"args\": [\"-m\", \"quant_data_mcp.server\"], \n      \"env\": { \n        \"QUANT_API_KEY\": \"\" \n      } \n    } \n  } \n} \n🔑 用 API Key \n默认匿名调用（10 次/分钟）。 \n \n想提高限额，在配置里填 QUANT_API_KEY： \n \njson \n{ \n  \"env\": { \n    \"QUANT_API_KEY\": \"your_api_key_here\" \n  } \n} \n注册获取 API Key：https://zizhenghua.com \n \n💬 示例 \n配好后，在 Claude Desktop / Cursor 里问： \n \n数据查询 \n \n\"茅台现在多少钱？\" \n \n\"帮我看看 600519 最近的 K 线\" \n \n\"今天市场涨跌家数怎么样？\" \n \n\"哪些行业今天涨得最好？\" \n \n\"帮我筛选换手率大于 5% 的股票\" \n \n\"600519 最新的财务指标是什么？\" \n \n\"600519 最近 8 期 ROE 趋势如何？\" \n \n回测与策略 \n \n\"帮我回测茅台 2024 年双均线策略\" \n \n\"对比一下 600519 和 000001 的 MACD 策略表现\" \n \n\"帮我找茅台 KDJ 策略的最佳止损止盈参数\" \n \n\"写一个布林带回测策略的 Pyt…","publisher":null,"homepage":"https://zizhenghua.com","repository":"https://github.com/Zizhenghua/quant-data-mcp/issues","version":"1.1.0","license":"MIT","protocols":["mcp"],"tags":["mcp","quant","stock","a-share","finance","api","backtest"],"pricing":null,"endpoints":[{"url":"pypi:zizhenghua-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"zizhenghua-mcp","registry":"pypi","observedAt":"2026-10-30T20:23:35.690Z","publishedAt":"2026-10-08T07:49:55.972332Z","latestVersion":"1.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"zizhenghua-mcp","url":"https://pypi.org/project/zizhenghua-mcp/","firstSeenAt":"2026-09-18T08:26:57.913Z","fetchedAt":"2026-10-30T20:23:17.832Z","normalizedAt":"2026-10-30T20:23:17.832Z"}]},"firstSeenAt":"2026-09-18T08:26:57.913Z","updatedAt":"2026-10-30T20:23:35.690Z"}