qgis_mcp

qgis_mcp

505

QGISMCP is a Model Context Protocol integration connecting QGIS with Claude AI, enabling rich client-server interaction. It allows for project and layer manipulation as well as execution of processing scripts and custom Python code within QGIS.

ping

Check server connection

get_qgis_info

Get the current QGIS installation information

load_project

Loading QGIS project from the specified path

create_new_project

Create a new project and save it

get_project_info

Get current project information

add_vector_layer

Add vector layer to project

add_raster_layer

Add raster layer to project

get_layers

Retrieve all layers in the current project

remove_layer

Remove layer by ID

zoom_to_layer

Scale to the range of the specified layer

get_layer_features

Search features from vector layers

execute_processing

Execute a processing algorithm with a given parameter

save_project

Save the current project to the specified path

render_map

Render the current map view as an image file

execute_code

Execute the provided PyQGIS code string