Leadmaps for Cursor — business data while you build
Cursor reads .cursor/mcp.json. One file, one key, and your AI pair-programmer can query real business data while writing the code that consumes it — ideal with a free sandbox lm_test_ key.
Setup
- Create a free lm_test_ key at app.leadmaps.io/keys (sandbox: ~5,000 real listings, 0 credits).
- Create .cursor/mcp.json in your project with the block below.
- Reload Cursor; the six leadmaps tools appear in the MCP panel.
- Switch to an lm_live_ key when you go to production.
{
"mcpServers": {
"leadmaps": {
"type": "http",
"url": "https://mcp.leadmaps.io/mcp",
"headers": { "Authorization": "Bearer lm_live_xxx" }
}
}
}3 copy-paste prompts
Count plumbers rated ≥ 4.5 in Nantes, then deliver the top 20 with phone and website.Find 150 real-estate agencies in Lille rated ≥ 4.4 with a website, export to CSV.List categories around “food”, then count pizzerias without a website in the Rhône department.
MCP tools
| Tool | Cost |
|---|---|
count_places | Free — always call first |
search_places | 1 credit per place returned (30-day dedup free) |
get_place | 1 credit (dedup) |
list_categories | Free |
create_export | 1 credit per delivered row |
get_export_status | Free |
FAQ
Should I commit .cursor/mcp.json with my key?
No: commit the file with a placeholder and inject the key via an environment variable, or keep the file local (.gitignore). An lm_live_ key pushed to a public repo must be revoked immediately.
Can I develop without spending credits?
Yes: the free lm_test_ key queries a sandbox of ~5,000 real listings for 0 credits — ideal for prototyping lead-gen features inside Cursor.
The Leadmaps tools do not show up in Cursor — what should I check?
Reload Cursor after creating .cursor/mcp.json, check the https://mcp.leadmaps.io/mcp URL and the Authorization: Bearer header. Once connected, the MCP panel lists the six leadmaps tools.