Maps in the Claude Code Terminal
I use Claude Code for GIS work. When I ask it for a map, I get a URL or a file path. I want to see the map. So I built a plugin that draws it in the terminal. The idea came from claude-inline-images by kbrianps. It draws PNG files that Claude reads. I wanted the same result for map services. The plugin is inline-maps . What it is Claude Code loads the plugin at session start. Claude Code calls this type of plugin a "mod". The mod API is early access. You need Claude Code 2.1.287 or later. The plugin adds two things: A tool, show_map . Claude calls it when you ask for a map. A command, /map . You type it at the prompt. Both use the same function. Only the way they return the result is different. Which map services it reads The plugin reads the URL and identifies the type of map service. Then it makes one request for a map image, or one request for each tile. It tests the patterns in the order of the table. Map service URL pattern Request ...