QGIS MCP Server
Exposes QGIS capabilities such as project management, layer inspection, spatial queries, styling, map export, and more to AI agents.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
QGIS MCP Server
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 sessionDesktop mode — live connection to a running QGIS instance via SSE/HTTP
Zero-friction setup — uses system QGIS Python bindings, no extra dependencies
Related MCP server: autocad-mcp
Tools
Category | Tools |
Project |
|
Layers |
|
Selection |
|
Attributes |
|
Styling |
|
Layout |
|
Render |
|
Processing |
|
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Pay-per-call GIS tools for AI agents: coordinates, measurement, reprojection, geodata conversion.
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
Geodata for any place, inside your agent: map data, terrain, routes, satellite images, GIS files.
Access Pollinations models and API capabilities through agent tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Windows operating system, performing tasks such as file navigation, application control, UI interaction, and QA testing.MIT
- AlicenseBqualityDmaintenanceEnables AI agents to automate AutoCAD LT and create DXF files headless, with tools for drawing, entity, layer, block, annotation, PID, and system operations.16MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with CAD software through semantic spatial topology and architectural ontology, supporting drawing, block/layer/entity management, and safe preview-apply transaction workflows for AutoCAD, ZWCAD, GstarCAD, and BricsCAD.1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control and interact with the Windows operating system, including file navigation, application control, UI automation, and QA testing.MIT