QGIS MCP
Freeconnects QGIS Desktop to Claude AI through the MCP. This integration enables prompt-assisted project creation, layer loading, code execution, and more.
About QGIS MCP
QGIS MCP (Model Context Protocol) integrates QGIS Desktop with Claude AI, allowing direct AI-driven control of QGIS via natural language prompts. The system consists of two components: a QGIS plugin that runs a socket server inside QGIS, and an MCP server that connects Claude to that plugin. Features include two-way communication, project creation/loading/saving, adding and removing vector and raster layers, executing processing algorithms from the Processing Toolbox, and running arbitrary Python code in QGIS. Installation requires QGIS 3.X (tested on 3.22), Python 3.10+, and the uv package manager. The plugin is open source and freely available on GitHub.
Key Features
Pros & Cons
- Enables AI-driven GIS workflows without manual GUI interaction
- Open source and free to use
- Based on the established Model Context Protocol
- Supports complex QGIS operations like processing algorithms and custom code
- Two-way communication provides tight integration between Claude and QGIS
- Arbitrary code execution poses security risks; requires cautious use
- Requires manual installation of both a QGIS plugin and MCP server
- Dependent on QGIS 3.X (only tested on 3.22), Python 3.10+, and uv package manager
- Not a standalone tool; requires Claude for Desktop and configuration
- Limited to features exposed by the MCP server; not all QGIS functionality covered