Using us-gov-open-data-mcp with gov.bc.ca

TypeScript integration

Install
npm install us-gov-open-data-mcp
Quick start
import Us_gov_open_data_mcp from 'us-gov-open-data-mcp';

const client = new Us_gov_open_data_mcp({ apiKey: "YOUR_API_KEY" });
Get the path, distance and travel time between a series of geographic points
curl \
  -H "apikey: $API_KEY" \
  https://router.api.gov.bc.ca/route.{outputFormat}
Get distance and travel time between two geographic points
curl \
  -H "apikey: $API_KEY" \
  https://router.api.gov.bc.ca/distance.{outputFormat}
Get the directions, path, distance and travel time between a series of geogra…
curl \
  -H "apikey: $API_KEY" \
  https://router.api.gov.bc.ca/directions.{outputFormat}
SDK on GitHub 📄 API Docs
SDK
us-gov-open-data-mcp
TypeScript
API
gov.bc.ca
gov.bc.ca:router
At a glance
Language TypeScript
Endpoints24
Base URLhttps://router.api.gov.bc.ca