gaopengbin/GeoAgent
AI-powered geospatial analysis platform — 35+ GIS tools, Cesium 3D globe, natural language interaction. 用自然语言操控地图,AI 自动完成空间分析与可视化。
Platform-specific configuration:
{
"mcpServers": {
"GeoAgent": {
"command": "npx",
"args": [
"-y",
"GeoAgent"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
> 用自然语言操控地图,AI 自动完成数据接入 → 空间分析 → 可视化渲染 → 报告生成
| 层级 | 技术 | |------|------| | 前端 | Vue 3 + TypeScript + Cesium + Pinia + ECharts | | 后端 | Python + FastAPI + LangChain/LangGraph | | GIS | gis-mcp + 高德地图 API + GeoPandas + Shapely + PyProj | | 数据库 | SQLite(开发)/ PostGIS(生产) | | Bridge | cesium-mcp-bridge(npm 包) |
git clone https://github.com/gaopengbin/GeoAgent.git
cd GeoAgentcd backend
python -m venv venv
venv\Scripts\activate # Windows
# source venv/bin/activate # Linux/macOS
pip install -r requirements.txt
# 配置环境变量
cp .env.example .env
# 编辑 .env,填入 LLM API Key
python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadcd frontend
npm install
npm run dev
# 访问 http://localhost:5173# 配置环境变量
cp backend/.env.example backend/.env
# 编辑 backend/.env,填入 LLM API Key 和 Cesium Token
docker-compose up --build
# 前端:http://localhost:5173 后端:http://localhost:8000点击右上角设置面板中的 中文 / EN 按钮即可切换界面语言。切换后:
在设置面板中可配置自定义 LLM 连接:
https://api.openai.com/v1)gpt-4o、deepseek-chat)配置后点击"应用配置",后续对话将使用你的自定义模型。未配置时使用服务端 .env 中的默认模型。
GeoAgent/
├── backend/ # Python 后端
│ └── app/
│ ├── agent/ # LangGraph AgLoading reviews...