docs / 05
MCP
Run the same metered parcel lookups from an AI agent through the Model Context Protocol.
The Worker is a remote MCP server at /mcp. It speaks the stateless Streamable HTTP transport and serves both the 2026-07-28 protocol revision and 2025-era stateless clients, so Claude Code, Cursor and VS Code connect without a bridge process. There is no separate pricing or data set: every call is authorized with one of your API tokens and metered in the same credit ledger as the REST API.
Coverage is incomplete. Use the free coverage tools (get_county_coverage, list_counties, get_coverage) before treating a miss as proof that a parcel does not exist.
Connection
| Setting | Value |
|---|---|
| URL | https://parcel.reeeally.ai/mcp |
| Transport | Streamable HTTP (stateless) |
| Authentication | Authorization: Bearer <api token> |
| Credits | Only calls that serve a parcel record consume a credit |
Create a token under /app/tokens. The 30-day trial token is enough to try the tools; a paid token meters overage at $0.05/record exactly like the REST API. Send the header from a client that supports custom headers — browser-hosted connectors that require OAuth are not supported yet.
Claude Code
claude mcp add --transport http parcel https://parcel.reeeally.ai/mcp \
--header "Authorization: Bearer $PARCEL_TOKEN"Cursor
{
"mcpServers": {
"parcel": {
"url": "https://parcel.reeeally.ai/mcp",
"headers": { "Authorization": "Bearer ${PARCEL_TOKEN}" }
}
}
}VS Code
{
"servers": {
"parcel": {
"type": "http",
"url": "https://parcel.reeeally.ai/mcp",
"headers": { "Authorization": "Bearer ${input:parcel-token}" }
}
},
"inputs": [
{
"id": "parcel-token",
"type": "promptString",
"description": "parcel API token",
"password": true
}
]
}Tools
| Tool | What it does | Credits |
|---|---|---|
| lookup_parcel_at_point | The parcel whose boundary contains a lat/lon point. | 1 on a hit; a miss is free |
| lookup_parcel_at_address | The parcel at one pasted mailing line ('street, city, STATE ZIP'), resolved from the county street index, a containment-verified address point, or a rooftop-grade geocode. The address-point match is unit-agnostic. | 1 on a served parcel; a miss, an ambiguity and an unavailable geocoder are free |
| get_parcel | One parcel by its deterministic id. | 1 on a hit; a miss is free |
| find_parcels_by_apn | Parcels sharing an exact APN in one county (up to 25 polygons). | 1 per returned record |
| get_county_coverage | One county's coverage class by five-digit FIPS. | Free |
| list_counties | Tracked counties, filtered by state or coverage class. | Free |
| get_coverage | National coverage totals and a per-state breakdown. | Free |
Protocol example
MCP is JSON-RPC 2.0 over HTTP. A tools/list request is enough to discover the surface; every response includes metering when a tool consumed credits.
curl https://parcel.reeeally.ai/mcp \
-H "Authorization: Bearer $PARCEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{ "name": "lookup_parcel_at_point", "title": "Look up parcel at a point" },
{ "name": "get_county_coverage", "title": "Get one county's coverage" }
]
}
}Auth and errors
- 401: missing, invalid or expired token. The response carries WWW-Authenticate: Bearer realm="parcel".
- 402: the token has no credits remaining.
- 403: the token is revoked, or a browser Origin other than this deployment called the endpoint.
- 404 is not used for a parcel miss: the tool returns a successful result with parcel: null and consumes 0 credits.