Feedback

QGISMCP - QGIS Model Context Protocol Integration MCP Server

@jjsantos01 Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
jjsantos01
Submitted by
Community
Quality
65
Stars
1K

About QGISMCP - QGIS Model Context Protocol Integration MCP Server

Model Context Protocol (MCP) that allows LLMs to use QGIS Desktop

QGISMCP - QGIS Model Context Protocol Integration is a MCP server in the Other category listed in the AddMCP.net directory, published by jjsantos01. Supported transport: stdio. Runtime: python. The repository has 1,016 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "qgis": {
            "command": "uv",
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/PARENT/REPO/FOLDER/qgis_mcp/src/qgis_mcp",
                "run",
                "qgis_mcp_server.py"
            ]
        }
    }
}

QGISMCP - QGIS Model Context Protocol Integration MCP Server config

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"
            ]
        }
    }
}

QGISMCP - QGIS Model Context Protocol Integration MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is QGISMCP - QGIS Model Context Protocol Integration?

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.

How to use QGISMCP - QGIS Model Context Protocol Integration?

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.

Key features of QGISMCP - QGIS Model Context Protocol Integration

  • Two-way communication between Claude AI and QGIS via a socket-based server.
  • Create, load, and save QGIS projects programmatically.
  • Add and remove vector or raster layers from the project.
  • Execute processing algorithms from the Processing Toolbox.
  • Run arbitrary PyQGIS code from Claude (use with caution).
  • Render the current map view to an image file.

Use cases of QGISMCP - QGIS Model Context Protocol Integration

  • Create a new QGIS project and add multiple vector/raster layers using natural language.
  • Execute processing algorithms such as centroid calculation on vector layers.
  • Generate choropleth maps with custom classification and color ramps via PyQGIS.
  • Load an existing project, inspect layers, and retrieve feature data.
  • Automate map rendering and project saving through conversational commands.

Frequently asked questions

1 What are the prerequisites for using QGISMCP?

QGIS 3.x, Claude Desktop, Python 3.10 or newer, and the uv package manager are required.

2 How do I install the QGIS plugin?

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.

3 How do I configure Claude Desktop?

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.

4 What tools are available for Claude to use in QGIS?

Fourteen tools are available, including ping,

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬