QGIS

v1.0.0Developer Toolsstable

Connects Claude AI to QGIS through the Model Context Protocol, allowing Claude to directly interact with and control QGIS for tasks like project creation, layer manipulation, and code execution.

qgis-mcp-servermcpai-integration
Share:
949
Stars
0
Downloads
0
Weekly
0/5

What is QGIS?

QGIS is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to connects claude ai to qgis through the model context protocol, allowing claude to directly interact with and control qgis for tasks like project creation, layer manipulation, and code execution.

Connects Claude AI to QGIS through the Model Context Protocol, allowing Claude to directly interact with and control QGIS for tasks like project creation, layer manipulation, and code execution.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Connects Claude AI to QGIS through the Model Context Protoco

Use Cases

Connects Claude AI to QGIS through the Model Context Protocol, allowing Claude t
jjsantos01

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx qgis-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use QGIS

This MCP server connects Claude AI to QGIS (Quantum GIS) through MCP, enabling you to control QGIS with natural language for geospatial projects. Create projects, manipulate layers, run spatial analysis, execute Python scripts, and process geographic data directly through Claude without using QGIS's GUI.

Prerequisites

  • QGIS 3.0+ installed on your system
  • Python 3.7+ installed
  • An MCP client such as Claude Desktop or Cursor
  • Node.js 18+ for running the server
1

Install QGIS

Ensure QGIS is installed and accessible from your command line. Verify with 'qgis --version'.

2

Install the MCP server

Use npx to run the QGIS MCP server.

npx qgis-mcp-server
3

Configure MCP client

Add the QGIS MCP server to your Claude Desktop or Cursor configuration.

{
  "mcpServers": {
    "qgis": {
      "command": "npx",
      "args": ["qgis-mcp-server"]
    }
  }
}
4

Launch QGIS

Start QGIS on your system. The MCP server communicates with the running QGIS instance.

5

Restart client and verify

Restart Claude Desktop or Cursor and test with a geospatial task like creating a new project or adding layers.

QGIS Examples

MCP Configuration Setup

How to register QGIS in your MCP client config.

{
  "mcpServers": {
    "qgis": {
      "command": "npx",
      "args": ["qgis-mcp-server"]
    }
  }
}

Prompts to Try

Test QGIS integration with geospatial prompts.

1. "Create a new QGIS project for mapping urban areas"
2. "Add a shapefile layer and style it by population density"
3. "Perform a spatial intersection between these two layers"
4. "Execute a Python script to calculate area statistics"
5. "Generate a heatmap from GPS coordinates"

Troubleshooting QGIS

Server fails to connect to QGIS

Ensure QGIS is running and has a project open. Check that your QGIS version is 3.0 or higher. Verify Python compatibility.

Layer operations fail

Confirm that you have proper file permissions and the required spatial datasets loaded in QGIS. Some operations may require specific QGIS plugins.

Python script execution errors

Verify that QGIS's Python environment is properly configured. Check the repository README for QGIS Python API requirements.

Frequently Asked Questions about QGIS

What is QGIS?

QGIS is a Model Context Protocol (MCP) server that connects claude ai to qgis through the model context protocol, allowing claude to directly interact with and control qgis for tasks like project creation, layer manipulation, and code execution. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install QGIS?

Follow the installation instructions on the QGIS GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with QGIS?

QGIS works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is QGIS free to use?

Yes, QGIS is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "qgis-mcp-server": { "command": "npx", "args": ["-y", "qgis-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use QGIS?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides