qgis_mcp
If you are the rightful owner of qgis_mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
QGISMCP connects QGIS to Claude AI through the Model Context Protocol, enabling direct interaction and control over QGIS.
QGISMCP is an integration that connects QGIS, a popular open-source geographic information system, with Claude AI using the Model Context Protocol (MCP). This integration allows for seamless interaction between the two platforms, enabling users to perform various GIS tasks through AI-driven commands. The integration is inspired by the BlenderMCP project and facilitates project creation, layer manipulation, and code execution within QGIS. By establishing a socket-based server, QGISMCP allows Claude AI to send commands directly to QGIS, enhancing the capabilities of both tools. This setup is particularly useful for automating GIS workflows, executing complex processing algorithms, and managing GIS data efficiently.
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 using the Processing Toolbox.
- Code execution: Run arbitrary Python code in QGIS from Claude.
Tools
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