How to Use OpenStreetMap local map data in Devin
Returns raw map objects for a small rectangular area, including the geographic structures used to describe local features. Use it to inspect a block or plaza across feature types instead of running a category search.
Prompts to try with OpenStreetMap local map data in Devin
Copy an example into Devin, or ask in your own words.
Use OpenStreetMap local map data for the block around Trafalgar Square, London. Build a viewer in this project that distinguishes points, ways, and relations.
Use OpenStreetMap local map data to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from OpenStreetMap local map data and tell me what changed since last week.
Check OpenStreetMap local map data and summarize what you find in three bullet points.
Pull the newest data from OpenStreetMap local map data and give me the result as a table.
How to set up OpenStreetMap local map data in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run OpenStreetMap local map data
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "openstreetmap-org/places/map_bbox", "input": { "bbox": "<bbox>" } }'
Then paste one of the prompts above: Devin finds OpenStreetMap local map data on Spiral, shows the price and runs it.
OpenStreetMap local map data providers and prices
Spiral runs OpenStreetMap local map data through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Include untagged | on or off | Keep untagged nodes (mostly way vertices) in |
Every API field of OpenStreetMap · Map bbox is on its tool page: open its card above.
What can you do with OpenStreetMap local map data in Devin?
Build a reviewable map-data audit for a public district in your project. Use OpenStreetMap locations, feature records, or editing evidence to explain what the returned data supports.
Build a neighborhood base map
Locate Covent Garden, inspect a small surrounding block, label public landmarks from coordinates, and refresh the saved map objects.
Investigate an unexpected map change
Compare a changed public feature with its earlier versions, surrounding map data, nearby edit sessions, and reported map problems.
Prepare a field survey
Create a survey brief for a public plaza using its location, surrounding features, mapped amenities, and unresolved issue reports.
Check an administrative boundary
Locate a municipality, inspect its mapped boundary and nearby features, then review object history and edit sessions when the boundary changes.
Investigate a station map discrepancy
Compare saved station-area records with current objects, inspect the surrounding block, and use history, edit sessions, and issue reports to explain discrepancies.
More on OpenStreetMap local map data and Devin
Overview
OpenStreetMap local map data in other agents
Questions about OpenStreetMap local map data in Devin
Can Devin use OpenStreetMap local map data?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run OpenStreetMap local map data like any built-in tool.
How much does OpenStreetMap local map data cost in Devin?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need an Alexandria account to use OpenStreetMap local map data in Devin?
No. Spiral runs OpenStreetMap local map data on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up OpenStreetMap local map data in Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while OpenStreetMap local map data runs?
OpenStreetMap local map data runs in the background. Devin starts the run, checks on it and gives you the json when it's ready.
Which parts of the world does OpenStreetMap cover?
OpenStreetMap has worldwide scope, including roads, trails, cafés, and railway stations. Its records come from a community of contributors.
Does worldwide coverage mean every local feature is mapped?
No. OpenStreetMap's accuracy documentation says basic map coverage is still being built in many areas, so a local result set cannot establish that every feature is present.
How frequently are OpenStreetMap changes distributed?
OpenStreetMap publishes minute, hourly, and daily change files. Those replication intervals do not establish one refresh schedule for every service that uses the data.
Are these map images or underlying geographic records?
OpenStreetMap's editing API exposes raw geographic data. Nodes, ways, and relations describe the underlying features rather than a rendered map image.
Is an OpenStreetMap number enough to identify a feature?
No. Nodes, ways, and relations have separate ID spaces, so retain the object type alongside the number.
Start using OpenStreetMap local map data in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


