public-apis-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_weatherB | 获取指定城市或经纬度坐标的天气信息(当前 + 预报)。 数据来源: Open-Meteo,完全免费。 |
| get_country_infoA | 获取指定国家的详细信息(人口、面积、货币、语言、国旗等)。 数据来源: REST Countries,完全免费。 |
| get_postsA | 获取 JSONPlaceholder 测试平台的帖子列表(模拟数据)。 |
| get_usersA | 获取 JSONPlaceholder 测试平台的用户列表(模拟数据)。 |
| get_asteroid_infoA | 获取指定日期的近地小行星信息(NEO)。 数据来源: NASA,使用公开 DEMO_KEY(每小时 30 次限制)。 |
| get_astronomy_pictureB | 获取 NASA 每日天文图片(APOD)的信息。 数据来源: NASA,使用公开 DEMO_KEY(每小时 30 次限制)。 |
| get_ip_geolocationA | 查询 IP 地址的地理位置信息(国家、城市、ISP 等)。 数据来源: ip-api.com,完全免费,无需 API key。 |
| lookup_wordA | 查询英文单词的定义、音标、词性、例句等。 数据来源: Free Dictionary API (dictionaryapi.dev),完全免费。 |
| get_random_activityB | 获取随机活动推荐,适合打发时间或寻找灵感。 数据来源: Bored API (boredapi.com),完全免费。 |
| search_arxivB | 搜索 arXiv 学术论文(物理学、数学、计算机科学、经济学等)。 数据来源: arXiv API,完全免费。 |
| search_booksB | 搜索图书信息(标题、作者、出版年份、封面等)。 数据来源: Open Library,完全免费。 |
| get_sun_timesA | 获取指定地点和日期的日出、日落、晨光、暮光等天文时间。 数据来源: Sunrise-Sunset API,完全免费。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_apis | 所有可用工具列表 |
TDQS
Scored across 12 tools
Each tool targets a distinct public API domain (e.g., asteroids, weather, books) with no overlap. An agent can clearly distinguish which tool to use for a specific type of query.
Tools use a consistent verb_noun pattern in snake_case, with 'get_' for data retrieval and 'search_' for search operations. The minor variation in verbs is systematic and predictable.
With 12 tools covering a diverse set of public APIs, the count is well-balanced—not too few to be useful and not too many to be overwhelming.
The tool set provides broad coverage of common public API categories (space, geography, weather, language, etc.), though additional APIs like music or movies could be included. No critical gaps given the server's aggregator purpose.