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

Muse Code · Maps & Reviews

How to Use OpenStreetMap map edits in Muse Code

Returns changeset records describing mapping sessions, including edit comments and editing software when supplied. Use it to investigate activity around an area; an overlapping changeset can include edits elsewhere.

Prompts to try with OpenStreetMap map edits in Muse Code

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

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

OpenStreetMap map editsMuse Code
Try asking
  • Pull the latest numbers from OpenStreetMap map edits and tell me what changed since last week.

  • Check OpenStreetMap map edits and summarize what you find in three bullet points.

  • Pull the newest data from OpenStreetMap map edits and give me the result as a table.

  • Check OpenStreetMap map edits every morning and tell me only when something changed.

How to set up OpenStreetMap map edits in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 map edits

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

Then paste one of the prompts above: Muse Code finds OpenStreetMap map edits on Spiral, shows the price and runs it.

OpenStreetMap map edits providers and prices

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

AlexandriaMaps & Reviews
OpenStreetMap · Changesets
openstreetmap-org/places/changesets

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 10020

limit

Closed onlyon or off

closed_only

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

What can you do with OpenStreetMap map edits in Muse Code?

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.

Investigate an unexpected map change

Compare a changed public feature with its earlier versions, surrounding map data, nearby edit sessions, and reported map problems.

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.

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.

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.

Questions about OpenStreetMap map edits in Muse Code

Can Muse Code use OpenStreetMap map edits?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run OpenStreetMap map edits like any built-in tool.

How much does OpenStreetMap map edits cost in Muse Code?

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

Do I need an Alexandria account to use OpenStreetMap map edits in Muse Code?

No. Spiral runs OpenStreetMap map edits 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 map edits in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while OpenStreetMap map edits runs?

OpenStreetMap map edits runs in the background. Muse Code 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 map edits in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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