Spiral gives your agent every tool with one account. Browse the tools →

Amp · Maps & Reviews

How to Use OpenStreetMap feature search in Amp

Returns map objects selected through Overpass using geographic and feature criteria. Use it to find mapped amenities or infrastructure in an area, where place-name search would return only selected matches.

Prompts to try with OpenStreetMap feature search in Amp

Copy an example into Amp, or ask in your own words.

Use OpenStreetMap feature search to look this up and give me the result as a table. Save the result in ./assets.

OpenStreetMap feature searchAmp
Try asking
  • Pull the latest numbers from OpenStreetMap feature search and tell me what changed since last week.

  • Check OpenStreetMap feature search and summarize what you find in three bullet points.

  • Pull the newest data from OpenStreetMap feature search and give me the result as a table.

  • Check OpenStreetMap feature search every morning and tell me only when something changed.

How to set up OpenStreetMap feature search in Amp

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    No header and no client ID or secret: Amp registers itself with Spiral.

    amp mcp add spiral https://api.spiral.ai/mcp
  2. Sign in

    Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

  3. Check it
    amp mcp doctor

Use the Spiral skill

  1. Send Amp this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run OpenStreetMap feature search

    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/search_elements",
        "input": {
          "tags": {}
        }
      }'

Then paste one of the prompts above: Amp finds OpenStreetMap feature search on Spiral, shows the price and runs it.

OpenStreetMap feature search providers and prices

Spiral runs OpenStreetMap feature search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
OpenStreetMap · Search elements
openstreetmap-org/places/search_elements

Settings you can ask for

Ask Amp for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 2000100

Maximum elements (Overpass out ... N).

Timeout s5 to 6025

Overpass [timeout] in seconds.

Area relation IDa number from 1

OSM relation id of an administrative boundary (e.g. 242397 for Porto Alegre); mapped to Overpass area 3600000000 + id.

Every API field of OpenStreetMap · Search elements is on its tool page: open its card above.

What can you do with OpenStreetMap feature search in Amp?

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.

Maintain a public amenity directory

Find mapped libraries or drinking fountains in a named district, inspect their tags, and refresh known records for a civic directory.

Prepare a field survey

Create a survey brief for a public plaza using its location, surrounding features, mapped amenities, and unresolved issue reports.

Review accessibility mapping

Inspect available accessibility tags on public amenities, compare saved records, trace relevant edits, and collect map reports for human review.

Refresh a public destination guide

Recheck mapped attractions in a district, refresh saved objects, label public locations, and review edit activity and map reports before revising the guide.

Questions about OpenStreetMap feature search in Amp

Can Amp use OpenStreetMap feature search?

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run OpenStreetMap feature search like any built-in tool.

How much does OpenStreetMap feature search cost in Amp?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Amp plan is separate.

Do I need an Alexandria account to use OpenStreetMap feature search in Amp?

No. Spiral runs OpenStreetMap feature search 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 feature search in Amp?

About two minutes: add the server, then sign in, then check it.

Does Amp wait while OpenStreetMap feature search runs?

OpenStreetMap feature search runs in the background. Amp 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.

Get started

Start using OpenStreetMap feature search in Amp

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Amp:

Set up Amp

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options