MapInfo AI lets you control actions in MapInfo Pro using plain language in a chat interface embedded within MapInfo Pro. You connect MapInfo AI to your favorite AI via an API.
Behind the scenes, MapInfo AI uses an MCP interface. This interface also allows you to control MapInfo Pro from an external chat application, such as Claude Desktop.
In this article, I will help you configure Claude Desktop to connect to and leverage MapInfo Pro. This opens up a new way of interacting with MapInfo Pro - combining desktop GIS with external AI-powered workflows.
First, we will review the prerequisites. Then, we configure Claude Desktop to connect to MapInfo AI. Finally, we will send commands to MapInfo Pro from Claude Desktop.
Happy #MapInfoMonday!
Prerequisites
You already have MapInfo Pro v2023 or newer, and the MapInfo AI add-in installed.
We need to install Node.js on our computer.
Node.js allows you to run JavaScript outside of your web browser. We use it here to connect Claude Desktop to MapInfo AI - specifically the MCP server behind it.
You can download Node.js from this site: nodejs.org/en/download
Run the installer after you download it.
That's the first step.
Configuring Claude Desktop
Now we only need to configure a new MCP server connection in Claude Desktop, and we'll be ready to use the connection between Claude Desktop and MapInfo Pro.
To configure an MCP server, we need to modify the file claude_desktop_config.json. You can find this file here: %localappdata%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude.
The path may vary on your machine, as it contains environment-specific characters.
You can start by going to this path in File Explorer: %localappdata%\Packages, and then go to these subfolders: Claude<additional character>, LocalCache, Roaming, and Claude.
Now right-click on the file claude_desktop_config.json, and open it in your text editor.
We need to add the following lines to this file:
"mcpServers": {
"mapinfo-pro": {
"command": "C:\\Program Files\\nodejs\\npx.cmd",
"args": [
"mcp-remote",
"http://localhost:3100/sse"
]
}
},
The path to npx.cmd must match where you installed Node.js.
Save the config file, and shut down Claude Desktop. You also have to end the additional background processes that Claude is running. You can close them through the Task Manager.
And the resulting layout in MapInfo Pro
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------