Aspire Server
БесплатноНе проверен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.
README
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.
Prerequisites
- Node.js 20+
- PostgreSQL database with the Aspire
apischema
Setup
cd 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
Connect Cowork
Add MCP server URL: http://localhost:3100/mcp
MCP Tools
| 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 |
LaTeX File Format
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}
Assumptions
- The database uses the
apischema (notpublic) - IDs are bigint (not UUID) — passed as strings in MCP tool parameters
- Quiz questions map to
dim_questions+dim_options(normalized), not a flat table - If a lesson has no
dim_test, one is created automatically during import - Only the first 4-5 answer choices are stored; option E is included if present
Установка Aspire Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/vinodc-aspire/mcpFAQ
Aspire Server MCP бесплатный?
Да, Aspire Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Aspire Server?
Нет, Aspire Server работает без API-ключей и переменных окружения.
Aspire Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Aspire Server в Claude Desktop, Claude Code или Cursor?
Открой Aspire Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolCompare Aspire Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
