I decided to try my first foray into AI with QGIS on my work computer (i.e. Windows obligate) and trying to recreate a friend’s example I had to do the following things as a complete newbie:
- Install Claude (I did the most basic tier etc.)
- Install uv
- Install the QGIS MCP plugin of my choosing
- Then, as in the instructions there, you have to edit
claude_desktop_config.jsonand here was what my entry looked like:
"mcpServers": {
"qgis": {
"command": "C:\\Users\\me\\.local\\bin\\uv.exe",
"args": [
"--directory",
"C:\\Users\\me\\Documents\\qgis_mcp\\src\\qgis_mcp",
"run",
"--python",
"3.13",
"qgis_mcp_server.py"
]
}
}
You can replace the entire file with this and save it, and Claude will just add all the default stuff back in. You need to have the json formatted exactly right, and some headaches I ran into were with the paths (have to remember “\\” instead of “/”) and also specifying a compatible version of python I had already installed on my computer. It doesn’t seem above 13 works with any of this.