How itismohan/datagenie works
DataGenie is a multi-service data-governance platform. Enterprise sources are harvested by durable connector jobs into a tenant-scoped catalog, where technical metadata and stewarded context support discovery; quality evidence and lineage add operational context. Analysts use the frontend or search boundary, while governed changes pass through proposal review and server-side checks. MCP provides constrained discovery and proposal intent, not approval or mutation authority. The README documents the major service capabilities; several route and service implementations were not sampled, so edges for those branches cite the README rather than implying source inspection.
Main entry points: main.py Catalog API · server.py MCP gateway · quality_service.py Quality checks · ingestion_service.py Metadata sync
Components 24
Catalog and ingestion
- Connector framework
apps/catalog-api/app/connectors - Ingestion jobs
apps/catalog-api/app/api/v1/ingestion_jobs.py - Connector workers
apps/catalog-api/app/workers/tasks.py - Metadata sync
apps/catalog-api/app/services/ingestion_service.py - Catalog API
apps/catalog-api/app/main.py - Catalog records
apps/catalog-api/app/models/catalog.py - Tenant sessions
apps/catalog-api/app/db/session.py - Search documents
apps/catalog-api/app/services/search_index_service.py
Quality and lineage
- Quality checks
apps/quality-api/app/services/quality_service.py - Rule evaluation
apps/quality-api/app/services/rule_engine.py - Quality records
apps/quality-api/app/models/quality.py - Lineage API
apps/lineage-api/app/api/v1/lineage.py - Impact analysis
apps/lineage-api/app/services/lineage_service.py - Lineage graph
apps/lineage-api/app/db/neo4j.py
Governance controls
- Proposal review
apps/catalog-api/app/api/v1/governance.py - Proposal checks
apps/catalog-api/app/services/proposal_service.py - Audit trail
apps/catalog-api/app/services/audit_service.py
Discovery and access
- Analyst workspace
apps/frontend/src/pages/App.jsx - Search boundary
apps/search-api/app/services/search_service.py - MCP gateway
apps/mcp-gateway/app/server.py - Governed tool execution
apps/mcp-gateway/app/services/tool_execution.py - Execution ledger
apps/mcp-gateway/app/services/execution_ledger.py
Other components
- Enterprise sources
- Analysts and hosts
Connections 26
- Enterprise sources → Connector framework: provide metadata
README.md - Ingestion jobs → Connector workers: enqueue jobs
apps/catalog-api/app/api/v1/ingestion_jobs.py - Connector workers → Metadata sync: run sync
apps/catalog-api/app/workers/tasks.py - Metadata sync → Connector framework: discover assets
apps/catalog-api/app/services/ingestion_service.py - Metadata sync → Catalog records: persist metadata
apps/catalog-api/app/services/ingestion_service.py - Catalog API → Tenant sessions: serve tenant requests
apps/catalog-api/app/main.py - Tenant sessions → Catalog records: scope reads and writes
apps/catalog-api/app/db/session.py - Catalog API → Search documents: support discovery
- Catalog API → Quality checks: provide catalog context
README.md - Quality checks → Rule evaluation: evaluate rules
apps/quality-api/app/services/execution_service.py - Quality checks → Quality records: store evidence
README.md - Lineage API → Impact analysis: route analysis
- Impact analysis → Lineage graph: query graph
apps/lineage-api/app/services/lineage_service.py - Proposal review → Proposal checks: check proposals
README.md - Proposal review → Audit trail: record decisions
README.md - Analysts and hosts → Analyst workspace: use workspace
README.md - Analyst workspace → Catalog API: request discovery
README.md - Analysts and hosts → Search boundary: search assets
README.md - Search boundary → Catalog API: proxy authorized query
apps/search-api/app/services/search_service.py - Analysts and hosts → MCP gateway: request governed tools
README.md - MCP gateway → Governed tool execution: dispatch tools
apps/mcp-gateway/app/server.py - MCP gateway → Execution ledger: record execution
apps/mcp-gateway/app/server.py - MCP gateway → Catalog API: fetch governed context
README.md - MCP gateway → Proposal review: submit proposal intent
README.md - Quality checks → Catalog API: publish quality context
README.md - Impact analysis → Catalog API: provide impact context
README.md