What are the prerequisites for using QGISMCP?
QGIS 3.x, Claude Desktop, Python 3.10 or newer, and the `uv` package manager are required.
@jjsantos01
Basic information
Model Context Protocol (MCP) that allows LLMs to use QGIS Desktop
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"qgis": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/REPO/FOLDER/qgis_mcp/src/qgis_mcp",
"run",
"qgis_mcp_server.py"
]
}
}
}Simple ping command to check server connectivity
Get QGIS information about the current installation
Load a QGIS project from the specified path
Create a new project and save it
Get current project information
Add a vector layer to the project
Add a raster layer to the project
Retrieve all layers in the current project
Remove a layer from the project by its ID
Zoom to the extent of a specified layer
Retrieve features from a vector layer with an optional limit
Execute a processing algorithm with the given parameters
Save the current project to the given path
Render the current map view to an image file
Execute arbitrary PyQGIS code provided as a string
QGISMCP connects QGIS to Claude AI through the Model Context Protocol (MCP), enabling direct AI-driven project creation, layer management, processing algorithm execution, and custom Python code execution within QGIS.
Install the QGIS plugin by copying the qgis_mcp_plugin folder into your QGIS profile plugins directory and enabling it via the Plugins manager. Configure Claude Desktop by adding the provided JSON block to claude_desktop_config.json, pointing to the qgis_mcp_server.py file. Start the server in QGIS from Plugins > QGIS MCP > QGIS MCP and click "Start Server". Claude will then have access to a set of tools to interact with QGIS.
QGIS 3.x, Claude Desktop, Python 3.10 or newer, and the `uv` package manager are required.
Download the repository, copy the `qgis_mcp_plugin` folder into your QGIS profile’s `Python/plugins` directory, then enable it in QGIS via `Plugins > Installing and Managing Plugins`.
Edit `claude_desktop_config.json` to include a new MCP server entry with `command: "uv"`, and provide the absolute path to the directory containing `qgis_mcp_server.py` in the `args`.
Fourteen tools are available, including `ping`,

Model Context Protocol Servers

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
Hindsight: Agent Memory That Learns
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Comments