jjsantos01 avatar

QGIS

jjsantos01/qgis_mcp

QGISMCP integrates QGIS geospatial software with Claude AI through the Model Context Protocol, enabling Claude to directly control QGIS via a socket-based two-way communication system. The server provides tools for project manipulation (create, load, save), layer management (add/remove vector and raster layers), Processing Toolbox algorithm execution, and arbitrary Python code execution within QGIS. This integration solves the problem of manual GIS workflow management by allowing users to leverage Claude's AI capabilities to assist with geospatial project creation and analysis through natural language prompts.

GitHub stars
949
tools
15
last updated
Feb 21, 2026

Tools

15 tools

Public tool metadata for what this MCP can expose to an agent.

pingSimple ping command to check server connectivity

Simple ping command to check server connectivity

No parameter schema in public metadata yet.

get_qgis_infoGet QGIS information about the current installation

Get QGIS information about the current installation

No parameter schema in public metadata yet.

load_projectLoad a QGIS project from the specified path

Load a QGIS project from the specified path

No parameter schema in public metadata yet.

create_new_projectCreate a new project and save it

Create a new project and save it

No parameter schema in public metadata yet.

get_project_infoGet current project information

Get current project information

No parameter schema in public metadata yet.

add_vector_layerAdd a vector layer to the project

Add a vector layer to the project

No parameter schema in public metadata yet.

add_raster_layerAdd a raster layer to the project

Add a raster layer to the project

No parameter schema in public metadata yet.

get_layersRetrieve all layers in the current project

Retrieve all layers in the current project

No parameter schema in public metadata yet.

remove_layerRemove a layer from the project by its ID

Remove a layer from the project by its ID

No parameter schema in public metadata yet.

zoom_to_layerZoom to the extent of a specified layer

Zoom to the extent of a specified layer

No parameter schema in public metadata yet.

get_layer_featuresRetrieve features from a vector layer with an optional limit

Retrieve features from a vector layer with an optional limit

No parameter schema in public metadata yet.

execute_processingExecute a processing algorithm with the given parameters

Execute a processing algorithm with the given parameters

No parameter schema in public metadata yet.

save_projectSave the current project to the given path

Save the current project to the given path

No parameter schema in public metadata yet.

render_mapRender the current map view to an image file

Render the current map view to an image file

No parameter schema in public metadata yet.

execute_codeExecute arbitrary PyQGIS code provided as a string

Execute arbitrary PyQGIS code provided as a string

No parameter schema in public metadata yet.

Sponsors

Readme

QGISMCP - QGIS Model Context Protocol Integration

QGISMCP connects QGIS to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control QGIS. This integration enables prompt assisted project creation, layer loading, code execution and more.

This project is strongly based on the BlenderMCP project by Siddharth Ahuja

Features

  • Two-way communication: Connect Claude AI to QGIS through a socket-based server.
  • Project manipulation: Create, load and save projects in QGIS.
  • Layer manipulation: Add and remove vector or raster layers to a project.
  • Execute processing: Execute processing algorithms (Processing Toolbox).
  • Code execution: Run arbitrary Python code in QGIS from Claude. Very powerful, but also be very cautious using this tool.

Components

The system consists of two main components:


View the full README on GitHub

Details

Repository
github.com/jjsantos01/qgis_mcp