QGIS Server
БесплатноНе проверенEnables AI agents to interact with QGIS, supporting project management, layer inspection, spatial queries, styling, and map export in both headless and desktop
Описание
Enables AI agents to interact with QGIS, supporting project management, layer inspection, spatial queries, styling, and map export in both headless and desktop modes.
README
An MCP (Model Context Protocol) server that exposes QGIS capabilities to AI agents. Supports both headless mode (stdio) and live QGIS desktop integration (SSE).
Features
- 23 tools covering project management, layer inspection, spatial queries, styling, and map export
- Headless mode — standalone process using
qgis_process-style QGIS session - Desktop mode — live connection to a running QGIS instance via SSE/HTTP
- Zero-friction setup — uses system QGIS Python bindings, no extra dependencies
Tools
| Category | Tools |
|---|---|
| Project | get_project_info, load_project, save_project |
| Layers | list_layers, get_layer_info, get_layer_features, add_layer, export_layer |
| Selection | select_features, extract_selected, count_features |
| Attributes | get_layer_statistics, get_unique_values, run_expression |
| Styling | set_graduated_renderer, set_layer_labels |
| Layout | create_layout, export_layout, list_layouts, get_layout_info |
| Render | render_map |
| Processing | list_algorithms, run_processing |
| CRS | get_crs_info, set_layer_crs, reproject_layer, set_project_crs |
Quick Start
# Install
pip install -e .
# Run headless
qgis-mcp
# Or use with opencode — add to .config/opencode/opencode.jsonc:
{
"mcp": {
"qgis": {
"type": "local",
"command": ["qgis-mcp"]
}
}
}
Desktop Plugin
Install the QGIS plugin from src/qgis_mcp_plugin/ to connect to a live QGIS session:
ln -s $(pwd)/src/qgis_mcp_plugin ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/
Then enable qgis_mcp_plugin in QGIS's Plugin Manager and add to your opencode config:
{
"mcp": {
"qgis-desktop": {
"type": "remote",
"url": "http://127.0.0.1:9876/sse"
}
}
}
License
MIT
Установка QGIS Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/BLD933/qgis_mcp_serverFAQ
QGIS Server MCP бесплатный?
Да, QGIS Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для QGIS Server?
Нет, QGIS Server работает без API-ключей и переменных окружения.
QGIS Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить QGIS Server в Claude Desktop, Claude Code или Cursor?
Открой QGIS Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare QGIS Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
