Back to Home
northernvariables icon

CanadaGPT

by northernvariables

Overview

A knowledge graph and AI chat system for Canadian federal parliamentary and legal information, including data ingestion, a GraphQL API, and a web frontend.

Installation

Run Command
python -m fedmcp.server

Environment Variables

  • NEO4J_URI
  • NEO4J_USER
  • NEO4J_PASSWORD
  • CANLII_API_KEY
  • POSTGRES_URI
  • FRONTEND_API_KEY
  • PUBLIC_API_KEY
  • ADMIN_API_KEY
  • JWT_SECRET
  • AUTH_SECRET
  • GRAPHQL_PLAYGROUND
  • GRAPHQL_INTROSPECTION
  • GRAPHIQL_ALLOWED_IPS
  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • SUPABASE_SERVICE_ROLE_KEY
  • ANTHROPIC_API_KEY
  • OPENAI_API_KEY
  • ENCRYPTION_KEY
  • STRIPE_SECRET_KEY
  • NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
  • STRIPE_WEBHOOK_SECRET
  • NEWS_API_KEY

Security Notes

The project has implemented critical security fixes for DoS prevention and frontend secret leakage. A comprehensive API key management and rate limiting system is in place. However, the 'SECURITY_IMPLEMENTATION.md' explicitly lists several remaining tasks for full authentication integration into the GraphQL server, Neo4jGraphQL authorization, and GCP Secret Manager integration for all secrets. Additionally, default hardcoded Neo4j passwords in development configurations and scripts pose a risk if not properly overridden in production environments.

Similar Servers

Stats

Interest Score35
Security Score6
Cost ClassLow
Avg Tokens1000
Stars3
Forks1
Last Update2025-12-03

Tags

Canadian GovernmentParliamentLegal DataLobbyingFinancial TransparencyKnowledge GraphAI ChatData PipelineNeo4jGraphQL