What I built
I built a purpose-specific MCP server that connects Claude to the education portal database. Claude can translate a business question into SQL, execute it through controlled tools, receive live results, and turn those results into an explanation, table, or visualization.
How the system works
LANGUAGE
TOOLS
VISUALIZATION
The MCP acts as the governed bridge between Claude and SQL. It exposes the data and query capabilities needed for education analytics while keeping the interface narrow and predictable.
Business-semantic layer
The server includes a knowledge.md layer that defines what business terms mean and how the core tables relate. For example, a completed enrollment is defined by a populated Enrollments.date_completed field.
It also encodes the portal-aware relationships required for correct joins:
Enrollments.user_id = Users.idandEnrollments.portal = Users.portalEnrollments.course_id = Courses.idandEnrollments.portal = Courses.portal
Governed query tools
The MCP exposes the three tables needed for the analytics workflow—Users, Enrollments, and Courses—through query tools designed for read-only analysis. This gives Claude enough capability to answer real questions while keeping access scoped to the intended use case.


