QGIS Model Context Protocol icon

QGIS Model Context Protocol

Createdjjsantos01

Enables Large Language Models to interact with and control QGIS Desktop for tasks like project creation, layer loading, and code execution.

About

QGIS Model Context Protocol (QGISMCP) bridges the gap between QGIS and Large Language Models (LLMs) by enabling direct interaction and control of QGIS through a socket-based server. Based on the BlenderMCP project, this integration allows users to leverage LLMs like Claude AI for prompt-assisted project creation, layer manipulation, processing algorithm execution, and even running arbitrary Python code within QGIS. This empowers users to automate complex geospatial tasks and leverage the power of AI within their QGIS workflows.

Key Features

  • Enables two-way communication between QGIS and LLMs.
  • Facilitates layer manipulation, such as adding and removing vector and raster layers.
  • Provides the ability to run arbitrary Python code within QGIS from the LLM.
  • Allows for project manipulation, including creating, loading, and saving.
  • Supports execution of processing algorithms from the QGIS Processing Toolbox.
  • 344 GitHub stars

Use Cases

  • Automating geospatial workflows within QGIS using natural language prompts.
  • Executing complex processing algorithms and custom Python scripts via LLM commands.
  • Creating and manipulating QGIS projects and layers through AI assistance.