index-valuation
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@index-valuation沪深300估值如何"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📈 指数估值查询服务
基于雪球 API 的指数估值查询 MCP Server,提供指数估值数据。
✨ 功能特性
🔄 权威数据:调用雪球基金指数估值数据 API,获取估值
🎯 63个指数:覆盖 行业、宽基、策略等类型指数
📊 最新查询:支持模糊匹配、批量查询、估值筛选
📈 历史估值:查询历史数据,分析估值趋势
⚡ MCP 协议:可集成到 Claude Code、Cursor 等 AI 工具
💾 自动缓存:1小时自动刷新,减少 API 调用
Related MCP server: A-Share MCP Server
📦 快速开始
1. 安装依赖
cd /YOUR-PATH-TO/index_valuation
uv venv
source .venv/bin/activate
uv pip install mcp requests2. 测试服务状态
source .venv/bin/activate
python3 tests/test_mcp_server.py3. 配置 MCP
编辑 Claude Code 配置文件 ~/.claude/settings.json:
{
"mcpServers": {
"index-valuation": {
"command": "/YOUR-PATH-TO/index_valuation/.venv/bin/python",
"args": ["/YOUR-PATH-TO/index_valuation/mcp_server.py"],
"env": {
"PYTHONUNBUFFERED": "1",
"PYTHONPATH": "/YOUR-PATH-TO/index_valuation"
},
"description": "指数估值查询服务(支持最新+历史查询)"
}
}
}4. 重启 Claude Code
配置完成后,重启 Claude Code。
开始享用
🛠️ 可用工具
工具 | 描述 | 使用场景 |
| 查询单个指数估值(最新) | "沪深300估值如何" |
| 批量查询多个指数估值 | "查询沪深300、中证红利" |
| 搜索指数(支持名称/代码) | "搜索中证银行" |
| 按估值状态筛选指数 | "找出低估指数" |
| 刷新最新估值数据 | "刷新最新估值" |
| 查询单个指数的历史估值数据 | "沪深300最近7天的历史数据" |
| 分析指数估值趋势 | "分析沪深300的估值趋势" |
| 获取历史数据概况 | "查看历史数据总量" |
示例
在 Claude Code 中直接对话:
示例对话 1: 查询单个指数
帮我查询沪深300的估值示例对话 2: 找出低估指数
列出所有估值偏低的指数示例对话 3: 批量查询
查询沪深300、中证红利、中证白酒的估值情况示例对话 4: 搜索指数
帮我找一下中证银行的估值示例对话 5: 查询历史数据
帮我查询沪深300最近7天的历史估值数据示例对话 6: 分析估值趋势
分析一下沪深300的估值趋势🚀 历史估值查询功能
MCP Server 支持查询历史估值数据和分析趋势:
收集历史数据
收集历史数据
# 1. 抓取今日数据(创建 data/history_data.csv)
source .venv/bin/activate
python3 archive/history_data_manager.py
# 2. 查看数据概况
python3 archive/history_data_manager.py --list
# 3. 配置定时任务(每天自动抓取)
# 参考 HISTORY_README.md💡 提示:历史数据需要每日手动抓取,建议配置定时任务自动收集。
更多详情:HISTORY_README.md
📈 数据来源
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hillerliao/index_valuation'
If you have feedback or need assistance with the MCP directory API, please join our Discord server