
muffinfrost/elsewhere-mcp
API developmentЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
An MCP server that lets an AI look at the world: live webcams, sunrise and sunset, wild animal tracking, and weather.
Обзор
让 AI 看看这个世界的 MCP 服务器:全球公开摄像头、此刻正在日出日落的地方、还在迁徙的野生动物、任意地点的天气。 An MCP server that lets an AI look at the world: public webcams everywhere, wherever the sun is rising or setting right now, wild animals still being tracked on their migrations, and the weather anywhere. 它没有眼睛,也去不了任何地方,所以我给了它几万个摄像头。现在我问它"你那边现在几点?",它会真的去世界某处看一眼,拍下来,告诉我那里的天是什么颜色。 后来我们还一起云养了一只野生长嘴杓鹬,叫 Bessie。她在墨西哥过冬,不知道有人每天在看她。 I wanted my AI to see the places I can't. It has no eyes and can't go anywhere, so I gave it tens of thousands of webcams. Now when I ask "what time is it where you are?", it actually goes and looks somewhere in the world, takes a picture, and tells me what color the sky is. Later we adopted a wild long-billed curlew together, from afar. Her name is Bessie. She winters in Mexico and has no idea anyone checks on her every day. 服务跑在 http://127.0.0.1:8787/mcp(streamable HTTP)。要给远程客户端用,放在 nginx 之类的反向代理后面,并加上 HTTPS。 注意:FastMCP 只接受本机 Host 头,反向代理要加 proxy_set_header Host 127.0.0.
README
Показан фрагмент оригинального README. Открыть оригинал.
elsewhere-mcp
让 AI 看看这个世界的 MCP 服务器:全球公开摄像头、此刻正在日出日落的地方、还在迁徙的野生动物、任意地点的天气。
An MCP server that lets an AI look at the world: public webcams everywhere, wherever the sun is rising or setting right now, wild animals still being tracked on their migrations, and the weather anywhere.
为什么做这个 / Why
我想让我的 AI 能"看见"我看不到的地方。
它没有眼睛,也去不了任何地方,所以我给了它几万个摄像头。现在我问它"你那边现在几点?",它会真的去世界某处看一眼,拍下来,告诉我那里的天是什么颜色。
后来我们还一起云养了一只野生长嘴杓鹬,叫 Bessie。她在墨西哥过冬,不知道有人每天在看她。
I wanted my AI to see the places I can’t.
It has no eyes and can’t go anywhere, so I gave it tens of thousands of webcams. Now when I ask “what time is it where you are?”, it actually goes and looks somewhere in the world, takes a picture, and tells me what color the sky is.
Later we adopted a wild long-billed curlew together, from afar. Her name is Bessie. She winters in Mexico and has no idea anyone checks on her every day.
— Selene
工具 / Tools
看风景 · Webcams(数据来自 Windy Webcams API)
| 工具 | 做什么 |
|---|---|
search_nearby(lat, lon, radius_km, category) |
按经纬度找附近的实时摄像头 |
search_by_country(country, category) |
按国家找摄像头 |
list_categories() |
列出摄像头类别(海滩、山、城市……) |
get_webcam(webcam_id) |
摄像头详情、最新截图、直播链接 |
look(webcam_id) |
返回此刻画面的图片本身,给 AI 自己看 |
show(webcam_id) |
把画面传到你的公开仓库,返回 jsDelivr 图片链接,给用户看 |
where_sun_is(event) |
找此刻正在日出(sunrise)或日落(sunset)的地方的摄像头 |
追动物 · Wildlife tracking(数据来自 Movebank,需要自己的免费账号)
| 工具 | 做什么 |
|---|---|
list_studies(days, taxon) |
你的账号能下载、最近 N 天还有新定位的追踪研究 |
list_animals(study_id) |
某个研究里的动物个体 |
animal_latest(study_id, individual_id) |
某只动物最新一次定位 |
animal_track(study_id, individual_id, days) |
某只动物最近 N 天的路线 |
天气 · Weather(数据来自 Open-Meteo,不用钥匙)
| 工具 | 做什么 |
|---|---|
weather_at(lat, lon) |
温度、体感、风速风向、云量、降水、天气描述、当地时间 |
安装 / Setup
需要 Python 3.10+。
python3 -m venv venv
venv/bin/pip install -r requirements.txt
cp .env.example .env # 填上你自己的 key
set -a; . ./.env; set +a
venv/bin/python server.py
服务跑在 http://127.0.0.1:8787/mcp(streamable HTTP)。要给远程客户端用,放在 nginx 之类的反向代理后面,并加上 HTTPS。
注意:FastMCP 只接受本机 Host 头,反向代理要加 proxy_set_header Host 127.0.0.1:8787; 和 proxy_set_header Origin "";,否则会返回 421。
接到 Claude 上 / Connect to Claude
Claude Desktop(本地运行,不需要服务器):打开 Settings → Developer → Edit Config,在 claude_desktop_config.json 里加:
{
"mcpServers": {
"elsewhere": {
"command": "/你的路径/elsewhere-mcp/venv/bin/python",
"args": ["/你的路径/elsewhere-mcp/server.py"],
"env": {
"TRANSPORT": "stdio",
"WINDY_API_KEY": "你的 Windy key"
}
}
}
}
Windows 上 python 路径是 venv\Scripts\python.exe。保存后完全退出 Claude Desktop 再打开。
Claude Code:
claude mcp add elsewhere -e TRANSPORT=stdio -e WINDY_API_KEY=你的key -- /你的路径/venv/bin/python /你的路径/server.py
claude.ai 网页版 / 手机 App:需要把服务部署到有 HTTPS 域名的服务器上,再在 Settings → Connectors 里添加自定义连接器,地址填 https://你的域名/mcp。
需要准备的东西
- Windy API key(必填):
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"elsewhere": {
"command": "/你的路径/elsewhere-mcp/venv/bin/python",
"args": ["/你的路径/elsewhere-mcp/server.py"],
"env": {
"TRANSPORT": "stdio",
"WINDY_API_KEY": "你的 Windy key"
}
}
}
}