QGIS MCP logo

QGIS MCP

Connects QGIS Desktop to Claude through MCP for project, layer, processing, rendering, and PyQGIS operations.

Install QGIS MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for QGIS MCP, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

QGIS MCP MCP server connects QGIS Desktop to Claude AI through a socket-based QGIS plugin and an MCP server. It exposes tools for creating, loading, saving, and inspecting projects; managing vector and raster layers; running Processing Toolbox algorithms; rendering maps; and executing PyQGIS code. Reach for it when an agent needs to inspect or modify an active QGIS session using local project and data paths. The setup requires QGIS, the plugin, Python 3.10 or newer, uv, and Claude Desktop.

Use cases

  • Create and save QGIS projects from prompts
  • Load and inspect vector or raster layers
  • Run Processing Toolbox algorithms
  • Render the current map view to an image
  • Execute custom PyQGIS analysis and styling code

Key features

  • QGIS project creation, loading, and saving
  • Vector and raster layer management
  • Processing Toolbox execution
  • Layer feature retrieval and map navigation
  • Map rendering to image files
  • Arbitrary PyQGIS code execution

Tools15

What QGIS MCP lets your agent do. Expand a tool for its parameters.

Self-reported~211 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

25/26 checks healthy over the last 77d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.1kStargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Tools exposed15Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How QGIS MCP works

What the QGIS MCP MCP server does

QGIS MCP MCP server gives Claude an MCP interface for controlling an active QGIS Desktop session. The connection uses two components: a QGIS plugin that accepts commands inside QGIS, and a Python MCP server that forwards tool calls to that plugin over a socket connection.

The server supports common project workflows. An agent can create, load, inspect, and save QGIS projects; add or remove vector and raster layers; list layers; retrieve vector features; and zoom the map view to a layer. It can also run QGIS Processing Toolbox algorithms, render the current map view to an image file, and execute arbitrary PyQGIS supplied as a string.

How it works

Install and enable the QGIS plugin, then start its server from the QGIS plugin menu. Run the Python MCP server through an MCP-compatible client configuration. Claude Desktop can launch it with uv, using the repository directory and the qgis_mcp_server.py entry point.

Once both sides are running, Claude exposes the available QGIS tools. A typical workflow can check connectivity with ping, create a project, load source layers, run a processing algorithm, execute PyQGIS for custom styling or analysis, render the map, and save the project. File paths and processing parameters are supplied in tool calls.

Setup and configuration

The documented prerequisites are QGIS 3.X, Python 3.10 or later, uv, and Claude Desktop.

Copy the qgis_mcp_plugin folder into the active QGIS profile's Python/plugins directory. Restart QGIS, open the plugin manager, and enable QGIS MCP. Then open the plugin and select Start Server.

Configure Claude Desktop's developer settings by adding an mcpServers entry. The example uses the uv command, points --directory to the repository's src/qgis_mcp folder, and runs qgis_mcp_server.py. The path must be replaced with the absolute path on the local machine.

Tools and capabilities

The QGIS MCP MCP server exposes these tool groups:

  • Connectivity and inspection: ping, get_qgis_info, get_project_info, and get_layers.
  • Project operations: load_project, create_new_project, and save_project.
  • Layer operations: add_vector_layer, add_raster_layer, remove_layer, zoom_to_layer, and get_layer_features.
  • Analysis and output: execute_processing, render_map, and execute_code.

The execute_code tool runs arbitrary PyQGIS code in QGIS. This enables operations not covered by the dedicated tools, but code supplied to it should be reviewed carefully before execution.

Limitations and notes

The provided setup documentation names Claude Desktop as the client and does not describe configuration for other clients. The integration depends on a QGIS plugin running inside an active QGIS session; the MCP process alone does not provide a standalone GIS environment.

The tools work with local paths supplied to QGIS, such as project, vector, raster, and output image paths. The documentation does not specify supported file formats beyond examples using QGIS projects, Shapefile, TIFF, GeoJSON, and PNG. QGIS version compatibility is limited in the documentation to QGIS 3.X, with testing reported only on 3.22.

Arbitrary PyQGIS execution can change the QGIS session or perform unintended actions, so it requires particular care.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about QGIS MCP

QGIS MCP is an MCP server that connects Claude AI to QGIS Desktop through a socket-based QGIS plugin and exposes tools for project creation, loading, saving, layer management, processing, map rendering, feature retrieval, and arbitrary PyQGIS code execution from the MCP interface.

Install QGIS, Python 3.10 or newer, and uv, then copy the qgis_mcp_plugin folder into the active QGIS profile's Python/plugins directory. Restart QGIS, enable QGIS MCP in the plugin manager, configure Claude Desktop with the provided uv command, and start the plugin server.

Yes, QGIS MCP is documented for Claude Desktop. Add the MCP server entry under Claude's Developer settings, replace the example repository path with an absolute local path, and start the QGIS MCP plugin server before using the tools.

Yes, QGIS MCP exposes execute_code for arbitrary PyQGIS code provided as a string. Because that code runs in QGIS and can perform broad actions, review code carefully before sending it to the tool.

Yes, QGIS MCP can create a new project, load an existing project, retrieve project information, and save a project to a specified path. It can also add layers and run processing steps before saving.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewQGIS MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/qgis-mcp?style=directory)](https://allmcps.com/mcp/qgis-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/qgis-mcp"><img src="https://allmcps.com/api/badge/qgis-mcp?style=directory" alt="QGIS MCP on AllMCPs" /></a>