QGIS MCP Server
Exposes QGIS capabilities such as project management, layer inspection, spatial queries, styling, map export, and more to AI agents.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@QGIS MCP Serverlist all layers in the current project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
QGIS MCP Server
An MCP (Model Context Protocol) server that exposes QGIS capabilities to AI agents. Supports both headless mode (stdio) and live QGIS desktop integration (SSE).
Features
23 tools covering project management, layer inspection, spatial queries, styling, and map export
Headless mode — standalone process using
qgis_process-style QGIS sessionDesktop mode — live connection to a running QGIS instance via SSE/HTTP
Zero-friction setup — uses system QGIS Python bindings, no extra dependencies
Related MCP server: QGISMCP
Tools
Category | Tools |
Project |
|
Layers |
|
Selection |
|
Attributes |
|
Styling |
|
Layout |
|
Render |
|
Processing |
|
CRS |
|
Quick Start
# Install
pip install -e .
# Run headless
qgis-mcp
# Or use with opencode — add to .config/opencode/opencode.jsonc:
{
"mcp": {
"qgis": {
"type": "local",
"command": ["qgis-mcp"]
}
}
}Desktop Plugin
Install the QGIS plugin from src/qgis_mcp_plugin/ to connect to a live QGIS session:
ln -s $(pwd)/src/qgis_mcp_plugin ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Then enable qgis_mcp_plugin in QGIS's Plugin Manager and add to your opencode config:
{
"mcp": {
"qgis-desktop": {
"type": "remote",
"url": "http://127.0.0.1:9876/sse"
}
}
}License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceAn MCP server that enables AI assistants to directly control QGIS for tasks like layer management, feature editing, and map rendering. It provides a suite of 50 tools to execute processing algorithms and manage GIS projects through natural language commands.100220GPL 2.0
- FlicenseBqualityDmaintenanceQGISMCP connects QGIS to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control QGIS for project creation, layer loading, code execution, and more.151

Magic Lane MCP Serverofficial
AlicenseBqualityBmaintenanceEnables AI agents to become geospatially intelligent assistants with tools for location search, smart routing, round trip planning, reverse geocoding, isochrone analysis, route visualization, geofence management, and interactive map display.81846Apache 2.0- AlicenseBqualityCmaintenanceEnables natural language interaction with a GeoServer instance for managing workspaces, datastores, feature types, layers, styles, and OGC services (WMS/WFS) via an LLM-powered agent.1MIT
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Git-backed platform for skills, tools, and context for AI agents
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BLD933/qgis_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server