loading…
Search for a command to run...
loading…
Enables Claude Cowork to interact with a PostgreSQL database for navigating educational content hierarchies and importing LaTeX-formatted quizzes. Users can fet
Enables Claude Cowork to interact with a PostgreSQL database for navigating educational content hierarchies and importing LaTeX-formatted quizzes. Users can fetch courses, units, and lessons while automatically parsing and inserting quiz questions into specific database tables.
An MCP (Model Context Protocol) server that connects Claude Cowork to a PostgreSQL database, enabling course navigation (course → unit → chapter → lesson) and LaTeX quiz file import. Parsed quiz questions are inserted into the dim_questions and dim_options tables linked to lessons via dim_tests.
api schemacd mcp-server
npm install
cp .env.example .env
# Edit .env with your real DATABASE_URL
npx drizzle-kit pull # generates src/db/schema.ts from live DB
npm run dev
Add MCP server URL: http://localhost:3100/mcp
| Tool | Description |
|---|---|
get_courses |
Fetch all available courses |
get_units_with_chapters |
Fetch units and chapters for a course |
get_lessons |
Fetch lessons for a chapter |
import_quizzes |
Parse a LaTeX file and insert quiz questions for a lesson |
Each question uses a \question macro with 4 brace-delimited arguments:
\question
{Question text here}
{\item choice1\item choice2\item choice3\item choice4}
{Explanation (ignored)}
{A) choice1}
api schema (not public)dim_questions + dim_options (normalized), not a flat tabledim_test, one is created automatically during importДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"aspire-mcp-server": {
"command": "npx",
"args": []
}
}
}