data-ai MCP Server
Connect QGIS to AI agent through the Model Context Protocol (MCP)
Discovered via github-seeds:mcp-new and last synced 1w ago.
1. Install the package
uvx --from https://github.com/nkarasiak/qgis-mcp/archive/refs/heads/main.zip qgis-mcp-server
2. Add to claude_desktop_config.json
{
"mcpServers": {
"qgis-mcp": {
"command": "uvx",
"args": [
"--from",
"https://github.com/nkarasiak/qgis-mcp/archive/refs/heads/main.zip",
"qgis-mcp-server"
]
}
}
}Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)
Description
`~/.local/share/qgis-mcp/server.log`
`INFO`
Tools
`stdio`
Stored in
`granular`
`9876`
`localhost`
Create a new project and save it
Retrieve features from a vector layer with an optional limit
Add a raster layer to the project
Render the current map view to an image file
Simple ping command to check server connectivity
Retrieve all layers in the current project
Execute arbitrary PyQGIS code provided as a string
Get QGIS information about the current installation
Remove a layer from the project by its ID
Load a QGIS project from the specified path
Zoom to the extent of a specified layer
Get current project information
Add a vector layer to the project
Execute a processing algorithm with the given parameters
Save the current project to the given path
Remote install
_(unset)_
_(unset)_
on