Skip to content
Tresca

QGIS MCP servers and AI agent skills

QGIS has no official MCP server, but two community servers drive an open QGIS Desktop through a plugin that listens on a local socket, one of them installable from the QGIS plugin repository and covering QGIS 3.28 to 4.x. Skills add a headless PyQGIS command line and plugin-development help. Everything here is free and runs on your own machine; the main caveat is that both servers can execute arbitrary PyQGIS code in your session.

  • No official Open source server yet.
  • 2 MCP servers and 3 agent skills listed.
Open source2 servers · 3 skillsChecked 4 Nov 2026

Integrations for QGIS

Community and commercial servers

MCP serverCommunity

QGIS MCPby Nicolas Karasiak

125 tools that drive a running QGIS 3.28 to 4.x through a plugin from the official QGIS plugin repository.

LocalCan modify models414· updated 3 weeks ago
MCP serverCommunity

QGISMCPby jjsantos01

A QGIS plugin opens a local socket inside QGIS Desktop so Claude can load layers, run Processing tools and render maps.

LocalWindows, macOSCan modify models1.1k· updated 1 year ago

Agent skills

SkillCommunity

qgis-mcp-tools skill (QGIS MCP)by Nicolas Karasiak

A SKILL.md reference to every QGIS MCP tool, with its safety annotations, for agents working on the server.

414· updated 3 weeks ago
SkillCommunity

cli-anything-qgisby HKUDS

A command-line harness and SKILL.md that let an agent build QGIS projects, layers and layouts through PyQGIS and qgis_process.

58k· updated 6 weeks ago
SkillCommunity

pyqgis-skillsby Gispo

Two skills for QGIS plugin developers: PyQGIS API lookup against real sources, and QGIS 3 to 4 plugin migration.

Windows, macOS, Linux0· updated 8 weeks ago

Listings are sorted by origin, then by recent activity. GitHub data is refreshed nightly. Nothing here is ranked.

How AI connects to QGIS

An MCP server or skill can only do what QGIS lets programs do. QGIS exposes 3 automation interfaces:

  • PyQGIS (Python API) (Python): QGIS exposes its C++ core to Python as PyQGIS, the same API its own plugins use. Both MCP servers here install a small QGIS plugin that runs PyQGIS calls inside the desktop event loop and listens on localhost (port 9876 by default for the Karasiak server). Because PyQGIS ships with QGIS itself, there is nothing extra to license, and the Python Console inside QGIS is the quickest place to test a call before asking an agent to repeat it. Documentation
  • qgis_process (Processing from the command line) (Command line): qgis_process runs any Processing algorithm, including GDAL, GRASS and native tools, without opening the QGIS window, and can return JSON. It suits batch jobs and servers where no desktop session exists. The CLI-Anything harness uses it for layout export and generic algorithms, while desktop MCP servers call the same algorithms through Processing inside the open project. Documentation
  • PyQGIS API reference (Python): The class-by-class reference for QgsProject, QgsVectorLayer, QgsProcessingAlgorithm and the rest. QGIS 4 moves to Qt 6, so plugin code written for QGIS 3 may need changes; the Gispo skills below cover that migration. Documentation

What Open source offers

QGIS is a volunteer-run open-source project rather than a company product, and as of this check it has not released its own MCP server or AI assistant. AI connectors for QGIS reach users as third-party plugins in the official QGIS plugin repository, such as Nicolas Karasiak's QGIS MCP, which the project hosts but does not author.

Checked 4 Nov 2026. Sources: QGIS MCP plugin page, plugins.qgis.org, QGIS project site

What you can do with QGIS and AI

  • Load shapefiles, GeoPackages and GeoTIFFs into a new or existing QGIS project, set the project CRS and save the .qgz.
  • Run Processing algorithms such as buffers, centroids, zonal statistics or spatial joins on your layers, singly, in batches, or as long background jobs.
  • Style a layer as categorized or graduated, add labels, and export a print layout or an atlas of map sheets to PDF.
  • Edit attributes and geometry inside an edit session, with commit, rollback and project checkpoints to undo an agent's changes.
  • Script QGIS headless from the terminal to create layers from WKT and export layouts without opening the desktop.
  • Port a QGIS 3 plugin to QGIS 4 and Qt 6 with a skill that checks API facts against the real sources.

Taken from the listings' own documentation. Check each listing for exactly what it supports.

Installing

The listings here document setup for Claude Code, Claude Desktop, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, LM Studio, VS Code, Windsurf, Zed and opencode. Install steps, copied from each project's own documentation, are on each listing's page. Most QGIS integrations run on your own computer next to QGIS, so you need QGIS installed and licensed on the same machine unless the listing says otherwise.

Questions

Is there an official QGIS MCP server?

No. The QGIS project hasn't published one as of 4 November 2026. The servers listed here are community projects; Nicolas Karasiak's is distributed through the official QGIS plugin repository, but it is written and maintained by its author.

Can Claude control QGIS Desktop?

Yes. Install a QGIS MCP plugin, press Start Server inside QGIS, and register the matching server in Claude Desktop or Claude Code. The agent then works in your open project: adding layers, running Processing tools and rendering the map.

Which QGIS MCP server works with QGIS 4?

nkarasiak/qgis-mcp states support for QGIS 3.28 through 4.x, and its plugin repository entry allows up to 4.99. jjsantos01/qgis_mcp was only tested on QGIS 3.22 and hasn't been updated since October 2025.

Is it safe to let an AI run code in QGIS?

Both servers include a tool that runs arbitrary PyQGIS, which can delete files or layers. The Karasiak server marks such tools as destructive so your client asks first, and supports a shared token on the socket. Work on copies of important projects.

AI-generated models, drawings and results must be checked by a qualified engineer before use.

Sources (checked 4 Nov 2026): PyQGIS developer cookbook · Using Processing from the command line (qgis_process) · QGIS MCP plugin page, plugins.qgis.org · QGIS product page

QGIS is developed by its own project (Open source). Tresca is independent and not affiliated with or endorsed by the QGIS project.