Developer docs

Two ways in: REST or MCP.

Query 2.49 million enriched tree records and 16 ecological layers from your code — or hand the tools straight to your AI assistant.

REST API quickstart

Public analytics endpoints need no key. Inventory queries use a Bearer key from the dashboard (free tier: 100 requests/day).

# Public: compare cities (no key required)
curl https://api.rangifer.ca/api/analytics/cities
# Authenticated: query trees in a bounding box
curl -H "Authorization: Bearer rng_YOUR_KEY" \
  "https://api.rangifer.ca/api/trees?city=Montreal&species=Acer%20saccharinum&limit=50"

Full endpoint reference: API overview or the OpenAPI specification. Rate limits and plans on the pricing page.

Connect an AI agent (MCP)

The MCP server exposes seven tools — tree queries, borough stats, species distributions, schema introspection, and a read-only SQL endpoint. In Claude, add a custom connector with the URL https://mcp.rangifer.ca. For Cursor or Claude Code, drop this into your MCP config:

{
  "mcpServers": {
    "rangifer": {
      "url": "https://mcp.rangifer.ca"
    }
  }
}

Then ask things like “Which Montreal borough has the highest silver-maple density?” — the agent answers from live inventory data. Details on the MCP page.