Map lead JSON with Claude CodeTurn exported business data into a living map
Capture leads on Google Maps, export the JSON, and let Claude Code or ChatGPT plot every business on an interactive map. No server, no API key, no coding required.
AI Workflows··8 min read
Key takeaways
The Vonsel Chrome extension captures businesses from Google Maps and exports them as CSV, Excel, or JSON, the ideal format to feed an AI
Claude Code and ChatGPT can read that JSON and write a full interactive map for you, plotting each lead by its coordinates
The extension is the means. Your AI (and the Vonsel dashboard) is where raw rows become decisions and outreach
The idea
Feed your AI with real business data
A list of leads in a spreadsheet is easy to ignore. The same leads plotted on a map, colored by rating and clustered by neighborhood, tell you where to spend your week. The problem used to be that building a custom map meant hiring a developer. That problem is gone.
Every business the Vonsel extension captures already carries its latitude and longitude, name, rating, review count, phone, and website. Export that as JSON and you are holding a clean, structured file that an AI can read in one pass. The extension does the collecting. Your AI does the building.
This guide walks the practical flow: capture on Google Maps, export JSON, then prompt Claude Code or ChatGPT to turn it into a map you can open in your browser. If you want the whole "feed your AI" mindset first, start with feed your AI with business data.
Start by capturing the data
Install the free extension, scrape a city on Google Maps, and export the JSON in one click. Free download. No trial, no credit card.
export formats from the extension: CSV, Excel, and JSON
1
plain-language prompt to build an interactive map
0
lines of code you need to write yourself
Step 1
Capture and export the JSON
Open Google Maps, search for your niche and area (for example "dentists in Austin"), and let the extension capture the results into its side panel. When the list looks right, choose Export and pick JSON. For a refresher on the formats, see export leads as CSV, Excel, or JSON for AI.
JSON is the format to reach for here because it keeps the structure intact. Each lead is an object with named fields, so the AI does not have to guess which column is the latitude. A typical exported record looks like this:
Claude Code runs in your terminal and can read files, write files, and open them, which makes it a natural fit for this job. Drop your leads.json in a fresh folder, start Claude Code there, and give it one clear instruction:
"Read leads.json. Build a single self-contained index.html that plots every business on an interactive map using its lat and lng. Color each marker by rating (green above 4.5, amber 4.0 to 4.5, red below 4.0) and show a popup with the name, rating, review count, and phone. Then open it in my browser."
Claude Code will pick a mapping library, wire up the markers, handle the popups, and write the whole page. Because it works in a real project folder, you can iterate by conversation: "cluster markers when zoomed out", "add a filter for businesses with no website", "export the filtered set back to JSON". Each request edits the same file. For deeper patterns, see build a lead dashboard with Claude Code and analyze lead lists with Claude Code.
Most maps of this kind lean on Leaflet, an open-source library that renders tiles and markers without an API key. If you would rather hand the AI a standards-based file, ask it to convert your JSON into GeoJSON first, a format most mapping tools read natively.
Step 3
Or do it in ChatGPT with no setup
If you prefer a browser tab to a terminal, ChatGPT works just as well for a one-off map. Upload the exported JSON directly into the chat, then ask for the same outcome: an HTML file that maps every lead by coordinates. ChatGPT returns the code (and, with its data tools, can even preview a static map), and you save the file and open it locally.
The two tools split the labor cleanly. ChatGPT is fastest for a single map you want in five minutes. Claude Code shines when the map becomes a project you keep refining, or when you want it reading and rewriting files on your machine. Deciding which format to hand each one? JSON vs CSV for AI analysis settles it.
You want
Reach for
A quick one-off map from a single export
ChatGPT
An evolving dashboard you tweak over days
Claude Code
Batch scripts across many export files
Codex / local LLM
Offline or private data handling
Local LLM
For teams with strict privacy rules, a local model (run through Ollama, LM Studio, or similar) can produce the same map code without your lead file ever leaving the machine. It is slower and needs more prompting, but the JSON contract is identical, so the workflow does not change.
Get the JSON your AI needs
The extension exports clean, coordinate-rich JSON that any AI can map. Free download. No trial, no credit card.
Every captured business ships with lat and lng, so the AI never has to geocode addresses or guess locations. The map is accurate from the first render.
Structured fields, not loose text
Named JSON keys mean the AI maps rating to color and reviews to size without you explaining the schema. Less prompting, fewer mistakes.
No API keys or servers
Open-source tiles render a full map locally. The output is a single HTML file you can email, host, or open offline.
Iterate in plain language
Filters, clusters, and color rules are one sentence away. You describe the territory view you want and the AI edits the code.
A map is a decision tool, not a decoration. Once you can see clusters of unhappy competitors, gaps with no coverage, or high-rating targets by street, your prospecting stops being a spreadsheet and starts being a route.
The bigger picture
When you want the map built for you
Building your own map with AI is powerful and flexible, and for many analysts it is the whole point. But not everyone wants to prompt a model every time they open a city. That is exactly what the Vonsel dashboard is for.
Inside the mapped CRM, captured leads already appear on an interactive map with sales zones and routes. Reviews Intelligence surfaces competitor pain points, Email Intelligence drafts a tailored message per business, and value-added databases arrive contextualized instead of raw. The extension and your AI are the workshop. The dashboard is the finished machine.
Most people use both: the extension plus a custom AI map for exploration, and the dashboard when it is time to work leads at scale. See how the pieces connect in from search to CRM: the complete workflow, or browse the full AI Workflows series.
The extension hands you the raw material. Your AI turns it into a map you act on.
Ready to feed your AI real data?
Capture Google Maps businesses and export the JSON your AI needs to build maps, dashboards, and outreach. Free download. No trial, no credit card. Explore features or see plans.
Can Claude Code build a map from a lead JSON file?
Yes. Export your leads as JSON from the Vonsel extension, drop the file in a folder, and ask Claude Code to build an interactive map from it. It writes a small HTML page that plots every business by latitude and longitude, adds popups with name, rating, and phone, and opens in your browser. No server and no API key needed.
Do I need to know how to code to map my leads with AI?
No. Both ChatGPT and Claude Code accept plain-language prompts. You upload the exported JSON or CSV, describe the map you want, and the AI writes the code. Your job is to describe the outcome, not to write JavaScript.
Is exporting lead data from the Vonsel extension free?
Yes. The Vonsel Chrome extension is a free download with no trial and no credit card. You capture businesses from Google Maps and export them as CSV, Excel, or JSON, then feed that file to any AI tool you like.