- Parcels and owners
- Flood zones and terrain
- Power lines and substations
- Drive times
- Add the URL to your app.
- Sign in with your Mireye account.
- No account? Create one.
- Fetch and Geocode are free.
- A new account gets $10 once for paid calls.
- Running code with nobody there to sign in? Use the HTTP API instead.
Where does your agent run?
Chat apps
No terminal. No code. Paste the URL into the app’s settings.- Claude
- ChatGPT
- Perplexity
Works on the web and in the desktop app.
- Open the Add custom connector dialog. Mireye is filled in.
- Confirm. Claude opens a Mireye sign-in page.
- Sign in. Accept the terms if asked. Click Approve.
- Start a new chat and ask your question.
- Open Customize, then Connectors.
- Click Add, then Add custom connector.
- Name it
Mireye. Pastehttps://api.mireye.com/mcp.
- Work account (Team or Enterprise)? An owner adds the connector first.
- No Add custom connector button? Ask your Claude admin.
- Each person connects with their own Mireye account.
- Claude connects from Anthropic’s servers, not your computer.
- Claude waits about four minutes for a tool. Name a county to keep a Search short.
Apps on your computer
- Claude Code
- Codex
- Cursor
- Other apps
Run in a terminal:
- Your browser opens. Sign in, accept the terms if asked, click Approve.
- Start a new Claude Code session.
- Or sign in from inside Claude Code: type
/mcp, pickmireye-earth, choose Authenticate. - Long Search timing out? Start with
MCP_TOOL_TIMEOUT=630000 claude.
An agent on a server
- MCP sign-in needs a person and a browser.
- The MCP URL does not accept API keys.
- So code that runs on its own uses the HTTP API.
- Same data. Same prices. It takes an API key.
- Create a key in the dashboard.
- Keep it in a secret store. The examples read it from
MIREYE_API_TOKEN. - Call the endpoint you need. This first call is free:
Endpoints that match the MCP tools
- Each takes the same JSON as its MCP tool.
- If the MCP tool wraps the request in
req, send what is insidereq. - Send the idempotency key in the
Idempotency-Keyheader. - Field requests and the Agent API have their own request shapes.
Your own tools
- Write one function tool per endpoint.
- Schemas for the endpoints above are in
https://api.mireye.com/v1/openapi.json. - The Agent API is not in that file. Its page has the request shape.
Mireye Agent over HTTP
The Agent API takes a task in plain language and runs it.- Open to accounts that have Mireye Agent. Others get
403 chat_not_available. - A slow answer returns
"status": "running". Read the turn again until it changes. See Slow answers.
Workflow tools (n8n, Zapier, Make)
Use the tool’s HTTP request step:
Set
max_cost_usd on every paid call that runs unattended.
LLM APIs that take an MCP URL and a token
- This covers the OpenAI Responses API and the Anthropic Messages API.
- They cannot run the Mireye sign-in.
- Call the HTTP API from your code instead.
Check that it works
- Your app should list tools that start with
mireye_. - You never type a tool name or JSON. Ask in plain words.
Use Mireye to get the elevation at 40.7128, -74.0060.You should get about 13 meters (43 feet), with USGS as the source. Then a real question:
Use Mireye to find who owns the parcel at 350 5th Ave, New York, NY, and whether it is in a flood zone.
- That looks up a parcel. It costs about $0.02.
- No street address? Paste coordinates from a map.
- Or give the county, state and parcel number (APN). That runs a Search, at $0.20.
- No tools? You are probably not signed in. See troubleshooting.
Guided setup
For Claude Code, Codex and Cursor. Mireye setup gives you a prompt to paste into your agent. The prompt:- Adds the server to each app.
- Installs a
use-mireyeskill that teaches the agent the tools. - Saves an API key for HTTP calls.
- The first call over HTTP, made with the API key.
- Each agent’s MCP sign-in, once it completes.
Security and server details
See Security and server details for:- What a connection can reach and spend.
- A summary to send your IT admin.
- The facts for building your own MCP client.