qgis_mcp

qgis_mcp

Enables LLMs to perform geographic information processing using the QGIS desktop application via the MCP protocol.

MCPDesignOpen source
Type
MCP
Transport
http
Open source
Yes
GitHub Stars
★ 1.0k
Source
mcp-github

Overview

QGISMCP is an implementation of the Model Context Protocol (MCP) that allows Claude AI to directly interact with the QGIS desktop application through the MCP protocol. This capability enables the AI to create, load, and save QGIS projects, add and remove layers, execute processing algorithms, and even run arbitrary Python code. It provides strong support for automating and intelligentizing geographic information systems (GIS). Integration methods include installing the QGIS plugin and configuring the Claude desktop app. Suitable for developers and researchers requiring geographic information processing capabilities.

Capabilities

  • Create, load, and save QGIS projects
  • Add and remove vector or raster layers
  • Execute processing algorithms
  • Run arbitrary Python code

Use cases

Automated GIS project managementGeospatial data analysis and visualizationMap rendering and exportScripted geospatial data processing

Setup

Requires: QGIS 3.XClaude 桌面版Python 3.10 或更新版本uv 包管理器
1. Install QGIS 3.X and Claude Desktop.
2. Install the uv package manager.
3. Clone the repository locally.
4. Copy the qgis_mcp_plugin folder to QGIS's plugin directory.
5. Configure the claude_desktop_config.json file in the Claude desktop app.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I start the QGIS MCP server?

In QGIS, go to the Plugins menu, select QGIS MCP, and click "Start Server".

Which QGIS versions are supported?

Currently, only QGIS 3.22 has been tested.

Related skills