QGISMCP integrates QGIS with Claude AI via the Model Context Protocol, enabling Claude to control QGIS for tasks like project creation, layer manipulation, and code execution. It uses a QGIS
QGISMCP connects QGIS to Claude AI through the Model Context Protocol (MCP), enabling Claude to directly interact with and control QGIS. This integration allows for prompt-assisted project creation, layer loading, code execution, and more. It is based on the BlenderMCP project.
Features include two-way communication via a socket-based server, project manipulation (create, load, save), layer manipulation (add/remove vector/raster), processing algorithm execution (using the Processing Toolbox), and arbitrary Python code execution within QGIS.
The system consists of a QGIS plugin (creates a socket server within QGIS) and an MCP Server (Python server implementing the Model Context Protocol).
Installation involves installing the QGIS plugin by copying it to the QGIS profile plugins folder and configuring Claude for Desktop Integration by adding a QGIS MCP server configuration to the claude_desktop_config.json
file.
Usage involves starting the server in QGIS and then using Claude with the available tools, such as ping
, load_project
, add_vector_layer
, execute_processing
, and execute_code
.
jjsantos01/qgis_mcp
March 12, 2025
March 28, 2025
Python