Token导航 LogoToken导航TokenDH.com
Ground API logo
AI代理stdio官方级别未说明来源级核验

Ground API

MCP Server

GroundAPI为AI代理提供统一的数据层,涵盖金融、信息和生活服务三大领域的11种工具,支持REST API、MCP和CLI三种访问方式。

工具数

11

提示词数

0

GitHub Stars

0

资源数

0
AI代理金融数据PythonClaudeClaude DesktopClaudeCursorWindsurf

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

qingkongzhiqian

提供方

qingkongzhiqian

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install groundapi-cli

详细介绍

GroundAPI

Data API for AI Agents

Website · Docs · MCP Endpoint · CLI

中文 | English

______________________________________________________________________

GroundAPI为AI代理提供了一个统一的数据层-- 11工具 涵盖金融、信息和生活服务。一个API密钥,三种访问方法: REST API, 主控程序,以及 命令行界面.

![License: MIT](LICENSE) ![MCP](https://mcp.groundapi.net/mcp) ![PyPI](https://pypi.org/project/groundapi-cli/)

目录

- 金融(5种工具) - 信息(4个工具) - 生活服务(2个工具)

快速开始

获取API密钥: groundapi.net500个免费电话/月,不需要信用卡。

选项1:MCP(推荐用于AI代理)

添加到Claude Desktop、Cursor、Windsurf或任何兼容MCP的客户端:

{
  "mcpServers": {
    "groundapi": {
      "url": "https://mcp.groundapi.net/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

选项2:REST API

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.groundapi.net/v1/finance/stock?symbol=600519&aspects=overview"

选项3:CLI

pip install groundapi-cli
groundapi config set-key YOUR_API_KEY
groundapi stock --symbol 600519

______________________________________________________________________

MCP工具参考

金融(5种工具)

finance_stock --证券数据

A股股票、指数和ETF的多功能查询。支持 11个数据维度 以及多股票比较。

参数类型默认值说明
symbolstring--股票代码。逗号分隔用于比较(例如。 "600519,000858")
keywordstring--按名称搜索(例如。 "茅台")
aspects字符串"overview"数据维度,逗号分隔(见下表)
daysint60kline/技术的历史范围
period字符串"d"K线周期: 5/15/30/60/d/w/m

11个可用方面:

Aspect返回使用时间
overview快速快照:报价+简介+财务简报“XXXX怎么样?”
profile完整的公司信息、概念、索引成员、资本结构“这家公司做什么?”
quote最新收盘价,市盈率,涨跌距离限制“当前价格?”
klineK线数据(支持5/15/30/60min、每日、每周、每月)“显示图表”
technicalMACD、MA、BOLL、KDJ+信号检测(例如“DIF越过DEA”)“技术分析?”
financial3份财务报表、季度损益表、现金流、股息、预测“财务状况如何?”
holders前10名股东、持股人、统计趋势、基金持有量“谁是主要股东?”
management高管、董事、监事“谁是管理层?”
events股息、股票发行、锁定期届满、收益日历“下一次股息是什么时候?”
summary多维事实汇总(无意见)“给我一份完整的数据摘要”
peers同行业比较表,PE/PB/市值排名“它在行业中排名如何?”
# Quick overview
finance_stock(symbol="600519")

# Deep dive with multiple aspects
finance_stock(symbol="600519", aspects="quote,technical,financial")

# Search by name
finance_stock(keyword="平安")

# Compare multiple stocks
finance_stock(symbol="601398,601939,600036", aspects="quote")

# Index / ETF
finance_stock(symbol="000001.SH", aspects="kline,technical")  # SSE Composite
finance_stock(symbol="510300", aspects="quote")                # CSI 300 ETF

finance_market --市场概况

全市场数据:主要指数、热门股票、行业轮换、IPO日历、异常信号。

参数类型默认值说明
scope字符串"overview"数据范围,逗号分隔
sectorstring--深入特定扇区
datestring--日期筛选器(YYYY-MM-DD)

范围: overview (指数+情绪)· hot (限制涨跌池,连胜)· sectors (概念和行业列表)· ipo (IPO日历)· signals (异常检测)

finance_market()                                    # Today's market
finance_market(scope="hot")                         # Limit-up/down stocks
finance_market(scope="sectors", sector="AI")        # AI sector constituents
finance_market(scope="ipo")                         # IPO calendar

finance_screen --股票筛选器

具有20多个维度和预设过滤器组合的多标准筛选。

参数类型说明
industrystring行业筛选器(例如。 "银行", "半导体")
conceptstring概念过滤器(例如。 "AI", "新能源")
pe_max / pe_min浮动PE比率范围
pb_maxfloat最大PB比率
min_market_cap / max_market_cap浮动市值范围
min_dividend_yield浮动最低股息收益率(%)
filter_preset字符串low_pe_high_div · small_cap_growth · large_cap_stable
sort_bystring排序字段(默认值: change_pct)
finance_screen(industry="银行", pe_max=10)                       # Low-PE bank stocks
finance_screen(min_dividend_yield=3, sort_by="dividend_yield")   # High dividend
finance_screen(concept="AI")                                      # AI concept stocks
finance_screen(filter_preset="low_pe_high_div")                  # Preset: value picks

finance_search --通用搜索

搜索范围 11780+证券:股票、概念、行业、ETF、指数。

参数类型说明
keywordstring搜索查询
type字符串all · stock (6,104) · concept (2,222) · sector (1,466) · etf (1,377) · index (613)
finance_search(keyword="芯片", type="etf")        # Chip ETFs
finance_search(keyword="AI", type="concept")       # AI concept indices
finance_search(keyword="沪深300", type="index")    # CSI 300

finance_gold_price --贵金属

finance_gold_price()   # Gold, silver, platinum prices

______________________________________________________________________

信息(4个工具)

info_search --网络搜索

参数类型说明
querystring搜索关键字
countint结果数(1-50,默认值10)
recency字符串noLimit · oneDay · oneWeek · oneMonth · oneYear
info_search(query="AI Agent trends 2026", count=20, recency="oneWeek")

info_news --新闻头条

参数类型说明
category字符串finance · general · tech · sports ...
limitint文章数量(1-50)
info_news(category="finance", limit=10)
info_news(category="tech")

info_trending --热门话题

微博、抖音、知乎等热门搜索排名。

info_trending()

info_bulletin --每日简报

info_bulletin()   # Morning news digest

______________________________________________________________________

生活服务(2个工具)

life_weather --天气

参数类型说明
citystring城市名称(例如。 "Beijing")
locationstringLat,lng(例如。 "39.9,116.4")
forecastbool包括7天预测
life_weather(city="北京", forecast=True)
life_weather(location="39.9,116.4")

life_calendar --日历和交易日

life_calendar()                  # Today: lunar date, solar terms, holiday, trading day
life_calendar(date="2026-05-01") # Specific date

______________________________________________________________________

REST API

基本URL: https://api.groundapi.net

所有端点都需要 X-API-Key 头球

端点描述
GET /v1/finance/stock股票/指数/ETF数据
GET /v1/finance/stock/screen库存筛选
GET /v1/finance/market市场概况
GET /v1/finance/search证券查询
GET /v1/finance/gold-price黄金和贵金属
GET /v1/info/search网络搜索
GET /v1/info/news新闻头条
GET /v1/info/trending热门话题
GET /v1/info/bulletin每日简报
GET /v1/life/weather天气
GET /v1/life/calendar日历信息
# Stock overview
curl -H "X-API-Key: YOUR_KEY" \
  "https://api.groundapi.net/v1/finance/stock?symbol=600519&aspects=overview"

# Multi-aspect deep dive
curl -H "X-API-Key: YOUR_KEY" \
  "https://api.groundapi.net/v1/finance/stock?symbol=600519&aspects=quote,technical,financial"

# Market overview
curl -H "X-API-Key: YOUR_KEY" \
  "https://api.groundapi.net/v1/finance/market?scope=overview"

# Stock screening
curl -H "X-API-Key: YOUR_KEY" \
  "https://api.groundapi.net/v1/finance/stock/screen?industry=银行&pe_max=10"

# Web search
curl -H "X-API-Key: YOUR_KEY" \
  "https://api.groundapi.net/v1/info/search?q=AI+Agent&count=10"

# Weather
curl -H "X-API-Key: YOUR_KEY" \
  "https://api.groundapi.net/v1/life/weather?city=北京&forecast=true"

API完整文档: docs.groundapi.net

______________________________________________________________________

CLI参考

安装

pip install groundapi-cli
groundapi config set-key YOUR_API_KEY

金融

# Stock quotes
groundapi stock --symbol 600519                            # Latest quote
groundapi stock --keyword 贵州茅台                          # Search by name
groundapi stock --symbol 600519 --date 2024-12-31          # Specific date
groundapi stock --symbol 600519 --days 30                  # Last 30 days
groundapi stock --symbol 600519 --days 30 --include technicals  # With technicals

# Screening
groundapi screen                                           # Default ranking
groundapi screen --industry 白酒 --pe-max 30               # Industry + PE filter
groundapi screen --sort-by total_market_cap --limit 10     # Top 10 by market cap

# Market overview
groundapi market                                           # Indices + macro
groundapi market --include sectors,valuation               # With sectors + valuation
groundapi market --sector 半导体 --type industry           # Sector drill-down

# Finance search
groundapi fsearch 芯片                                     # Search securities
groundapi fsearch AI --type concept                        # AI concept indices

# Gold price
groundapi gold                                             # Precious metals prices

信息

groundapi search "AI Agent"                                # Web search
groundapi search "AI Agent" --count 20 --recency oneWeek   # With filters
groundapi news                                             # Finance news
groundapi news --category tech --limit 10                  # Tech news
groundapi trending                                         # Trending topics
groundapi bulletin                                         # Daily briefing

生活服务

groundapi weather --city 北京                               # Current weather
groundapi weather --city 北京 --forecast                    # 7-day forecast
groundapi weather --location 39.9,116.4                    # By coordinates
groundapi calendar                                         # Today's calendar info

______________________________________________________________________

代理技能

将GroundAPI工具结合到自动化工作流程中的预构建技能。在Cursor、OpenClaw或Smithery中安装:

技能描述
市场简报生成每日A股市场摘要——指数、行业、热门股票、异常
A股分析师11个数据维度的深度分析——输出包含技术和财务的结构化报告
股票筛选器自然语言股票筛选——“发现被低估的高股息银行股”
上下文感知每日助理——天气、日历、新闻一次完成
异常跟踪器市场异常检测——异常交易量、价差、涨停

______________________________________________________________________

自托管MCP服务器

在本地运行MCP服务器(本地AI客户端的stdio传输):

pip install -r requirements.txt
python mcp_server.py

或者连接到托管的MCP端点(无需部署):

https://mcp.groundapi.net/mcp

______________________________________________________________________

定价

免费付费
呼叫500/月现收现付
速率限制60分钟300分钟
支付--支付宝/微信支付/信用卡

获取API密钥: groundapi.net.

链接

许可证

MIT——仅提供技能、MCP服务器包装和文档。GroundAPI是一种商业API服务。

目录标签

目录标签

AI代理金融数据PythonClaude本地部署信息检索生活服务统一API

支持客户端

Claude DesktopClaudeCursorWindsurf

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

api-key

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

11

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdioapi-keyremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP