address_geocode
BC Address Geocoder: street address to coordinates
Turns a British Columbia street address into standardised address text and coordinates (lat, lon in WGS 84) with a match score and precision, from the provincial BC Physical Address Geocoder, read live. Or look up one address site by its site_id. Forward lookups only: no reverse lookup (coordinates to address), no occupants and no names. Feed the coordinates to alr_lookup or parcel_lookup.
Cost: 3 units of your allowance (see Rate limits).
Parameters
address(string, optional): min length 3, max length 200site_id(string, optional)max_results(integer, optional): min 1, max 5min_score(integer, optional): min 0, max 100
REST
curl -X POST https://api.bcmcp.ca/v1/tools/address_geocode \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool address_geocode with these arguments. Over raw JSON-RPC:
curl -X POST https://api.bcmcp.ca/mcp \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"address_geocode","arguments":{}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.