# MapleSpike — Canadian Public-Sector Data API > Coverage, response fields, and publisher terms vary by endpoint and source. > MCP server: https://mcp.maplespike.ca/sse (184 tools) > MCP server card: https://quill.maplespike.ca/.well-known/mcp/server-cards.json > Agent card: https://quill.maplespike.ca/agent-card.json · Agents index: https://quill.maplespike.ca/agents.json ## API Base URL: https://api.maplespike.ca/v1 Auth: Authorization: Bearer header or X-API-Key header Response: { success, data, quality, citation, meta }; payload and citation fields vary by endpoint. Record hashes check canonical Quill record integrity only; source terms vary by publisher and dataset. Consult the original source before reuse. HTML API reference: https://quill.maplespike.ca/api-reference Attribution and publisher terms: https://quill.maplespike.ca/data-sources Repository licence inventory: https://github.com/maplespike/quill/blob/main/DATA-LICENSES.md ### Endpoints - GET /v1/health — API health check with usage stats - GET /v1/openapi.json — OpenAPI 3.1 specification - GET /v1/me — Current tenant info and API keys - GET /v1/usage — Current billing period usage - GET /v1/gov/releases — Latest government data releases - GET /v1/gov/search — Full-text search across supported sources - GET /v1/citation/:hash — Look up a record by hash; a match checks record integrity, not source authenticity - GET /v1/claims/verify/:hash — Look up a claim hash and recorded provenance evidence when available (public) - GET /v1/claims/latest — List recent claim summaries; source retrieval time may be unavailable (public) - POST /v1/claims/verify — Recompute SHA-256 of canonical JSON for supplied data (public) - POST /v1/register — Create account and API key - GET /v1/verify/:token — Verify email address - POST /v1/ai/ask — Ask a question and receive an AI-generated response - POST /v1/ai/search — Semantic search with edge embeddings - GET /v1/ai/models — List available AI models - POST /v1/ai/analyze — Analyze text for bias, sentiment, or claims - POST /v1/auth/refresh — Refresh JWT token - POST /v1/auth/logout — Clear session - POST /v1/billing/checkout — Create checkout session - GET /v1/billing/plans — Available pricing plans - GET /v1/keys — List API keys - POST /v1/keys — Create API key - DELETE /v1/keys/:id — Delete API key - POST /v1/keys/:id/rotate — Rotate API key - GET /v1/signals — Cross-reference signals (requires engine) - GET /v1/extraction/tasks — List browser extraction tasks for portals without APIs - POST /v1/extraction/results — Submit extracted data from browser client - GET /v1/extraction/cached/:source_id — Get cached browser extraction results - GET /v1/data/quality — Module health, freshness, and error tracking ### Data Categories - committees — Available House of Commons and Senate committee records, where supported - lobbying — Selected federal and provincial lobbying registry records - procurement — Selected CanadaBuys contract awards and tenders - gazette — Available Canada Gazette Parts I, II, and III records - elections — Selected third-party advertiser, election, and political-donation records - oversight — Selected records from oversight bodies, where supported - courts — Selected federal court decisions via CanLII, where supported - influence — Selected records about international organizations, NGOs, and think tanks - immigration — Selected IRCC, LMIA, Express Entry, study, and work-permit data - defence — Selected DND personnel and defence-procurement records - health — Selected Health Canada datasets and product records - transport — Selected Transport Canada, infrastructure, and GTFS transit data - indigenous — Selected Indigenous services, statistics, and First Nations records - provincial — Selected provincial and territorial sources - municipal — Selected municipal open-data sources - economic — Selected economic indicators from StatCan and the Bank of Canada - international — Selected data from international statistical sources - environment — Selected environmental, climate, fisheries, and parks sources - corporate — Selected corporate filings, insider-trading, and registry records - housing — Selected CMHC and municipal housing records - extraction — Some browser-extracted data from portals without APIs ## MCP Tools (184 tools) Tool names: query_gov_data, fact_check, get_citation, latest_releases, search_committees, search_corporate, search_influence, search_gazette, search_gic, search_elections, search_provincial_lobbying, search_oversight, search_canlii, search_lmia, search_immigration, search_indigenous_relations, search_criminal_justice, search_transport_safety, search_defence, search_science, search_tribunals, search_lode, search_veterans, search_ngo_rss, ngo_narrative_tracker, search_health, search_ilo, search_proactive_disclosure, search_ati, search_federal_budget, search_statcan, search_legislation, search_goc_spending, search_municipal, search_global_canada, search_health_canada, search_impact_assessment, search_species_at_risk, search_fisheries, search_agriculture, search_crown_corporations, search_charity_t3010, search_bank_of_canada, datastore_query, discover_tools, search_weather, search_nutrient_file, search_valet_api, search_housing_cmhc, search_crtc_decisions, search_social_programs, search_education_research, search_a2aj, search_ab_data, search_arcgis_layers, search_bc_data, search_bills, search_cipo, search_cmhc, search_committees_op, search_corporate_filings, search_cra_charity, search_crtc, search_culture, search_debates, search_geospatial, search_ircc-citizenship, search_ircc_entry_exit, search_ircc_express_entry, search_ircc_family_sponsorship, search_ircc_pr_admissions, search_ircc_processing_times, search_ircc_study_permits, search_ircc_work_permits, search_knowledge_fabric, search_libraries, search_municipal_data, search_npri, search_nrcan, search_nunavut_data, search_on_data, search_yukon_data, search_parks, search_provincial_data, search_provincial_legislatures, search_provincial_regulators, search_qc_data, search_real_time_feeds, search_regional_authorities, search_sedi, search_un, search_unions, search_universities, search_energy_data, search_climate_data, search_public_safety, search_federal_contracts, search_federal_grants, search_gender_stats, search_housing_data, search_mining_data, search_official_languages, search_technology_data, search_patents, search_trademarks, search_pharmaceuticals, search_telecommunications, search_real_estate, search_emergency_management, search_indigenous_services_directory, search_policing_security, search_financial_regulation, search_media_broadcasting, search_municipal_long_tail, search_provincial_orgs, search_cross_reference, search_nrcan_renewable, search_nrcan_fires, search_nrcan_forests, search_nrcan_minerals, search_oecd_stat, search_undp_hdi, search_unhcr_refugees, search_us_cia, search_au_abs, search_nz_stats, search_uk_ons, search_who_gho, search_eurostat, search_utilities, cache_clear, cache_status, compare_regions, get_annotations, get_entity_profile, get_member_info, get_module_health, get_pipeline_health, get_politician_influence, qa_schema, qa_validate_module, query_bridges, query_cpi, query_gdp, query_labour, query_population, query_trade, search_votes, search_agriculture_data, search_citizenship_data, search_corporate_registry, search_culture_data, search_education_stats, search_gazette_part1, search_gazette_part2, search_gazette_part3, search_immigration_refugees, search_indigenous_stats, search_transportation_data, searxng_health, smart_search, track_bill, get_wdi_indicator, compare_wdi_countries, get_country_wdi_profile, analyze_indicator_trend, fetch_topic_indicators, get_indicator_metadata, get_comtrade_by_partner, get_comtrade_by_commodity, get_comtrade_trends, ai_ask, ai_analyze, ai_search_semantic, explore_catalog, signal_check, system_health, resolve_entity, find_connections, linked_entities, verify_claim, resolve_quill_id, query_quill, x402-deposit