GroundAPI
Real-time data API for AI Agents.
What it can do
- Stock Quote: 获取 A 股最新日行情。symbol: 股票代码,如 600519(贵州茅台)。api_key: GroundAPI 密钥。
- Stock List: 获取 A 股股票列表(分页)。market: 市场过滤(sh/sz/bj,留空返回全部)。is_active: 是否在市。page/page_size: 分页参数。api_key: GroundAPI 密钥。
- Stock Search: 按代码或名称搜索 A 股股票。keyword: 搜索关键词,如 '茅台' 或 '600519'。limit: 返回条数(1-50)。api_key: GroundAPI 密钥。
What data it sees
Do you need an account
An API key from the service settings is required
Real-time data API for AI Agents. One API key to access 13 tools: A-share stocks (quote, search, history, ranking), weather, forex rates, logistics tracking, web search, web scraping, news, and IP geolocation. Free tier: 500 calls/month.
How to connect
How to connect GroundAPI to Claude
The server address to paste into Claude settings:
https://groundapi--groundapi.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect GroundAPI to ChatGPT
The server address to paste into ChatGPT settings:
https://groundapi--groundapi.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect GroundAPI to Cursor
The server address to paste into Cursor settings:
https://groundapi--groundapi.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (13)
Raw names from tools/list. Only developers need these.
| stock_quote | 获取 A 股最新日行情。symbol: 股票代码,如 600519(贵州茅台)。api_key: GroundAPI 密钥。 |
| stock_list | 获取 A 股股票列表(分页)。market: 市场过滤(sh/sz/bj,留空返回全部)。is_active: 是否在市。page/page_size: 分页参数。api_key: GroundAPI 密钥。 |
| stock_search | 按代码或名称搜索 A 股股票。keyword: 搜索关键词,如 '茅台' 或 '600519'。limit: 返回条数(1-50)。api_key: GroundAPI 密钥。 |
| stock_daily | 查询某只股票在指定日期的行情数据。symbol: 股票代码。date: 日期(YYYY-MM-DD)。api_key: GroundAPI 密钥。 |
| stock_history | 查询某只股票的历史日K线数据。symbol: 股票代码。start_date/end_date: 日期范围(YYYY-MM-DD,可选)。limit: 最大返回条数(1-500)。api_key: GroundAPI 密钥。 |
| stock_ranking | 查询 A 股涨跌排行榜。date: 交易日期(YYYY-MM-DD,不传取最新)。sort_by: 排序字段(change_pct/volume/turnover/turnover_rate/amplitude)。order: desc/asc。limit: 返回条数。api_key: GroundAPI 密钥。 |
| weather_current | 查询城市实时天气。city: 城市名称(中文或英文),如 北京、Tokyo。api_key: GroundAPI 密钥。 |
| forex_rate | 获取两种货币的实时汇率。from_currency/to_currency: ISO 4217 货币代码,如 USD、CNY。api_key: GroundAPI 密钥。 |
| logistics_track | 追踪快递物流状态。number: 运单号。carrier: 快递公司编码(可选,如 sf/yt/zt/yd/auto),不填自动识别。phone: 手机号后四位(顺丰/丰网必传)。api_key: GroundAPI 密钥。 |
| web_search | 网络搜索。query: 搜索关键词。engine: 搜索引擎(std/pro/sogou/quark)。count: 返回条数(1-50)。recency: 时间范围(oneDay/oneWeek/oneMonth/oneYear/noLimit)。api_key: GroundAPI 密钥。 |
| scrape_webpage | 抓取网页内容并转为结构化文本。url: 网页地址。format: 返回格式(markdown/text)。api_key: GroundAPI 密钥。 |
| news_hot | 获取分类新闻热点。category: 新闻分类(general/finance/sports/entertainment/tech/military/health/education/travel/game/auto/domestic/world/fashion/food/house)。limit: 返回条数(1-50)。page: 页码。api_key: GroundAPI 密钥。 |
| locate_ip | IP 地理定位。ip: 要查询的 IP 地址,如 8.8.8.8。返回国家、城市、经纬度、ISP 等信息。api_key: GroundAPI 密钥。 |