moses-mcp
The moses-mcp server provides access to TU Berlin's public Moses MTS (Modulverzeichnis) system, allowing you to search, browse, and analyze degree programs and modules without login. You can:
Search degree programs by name, optionally filtering by faculty or degree type (Bachelor/Master).
Retrieve a program's curriculum structure (e.g., Pflichtbereich, Wahlpflichtbereich) with module/credit counts per area.
List modules within a curriculum area, including credits, grading, exam type, Turnus, and StuPO passing rules.
Search modules by title or module number, returning details like credits, language, and responsible person.
Get full module details: description, learning outcomes, content, exam type, teaching language, and cross-listings (which other programs use that module).
Answer complex queries, e.g., identify mandatory modules with specific exam types, or find all programs that use a module.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@moses-mcpWhich modules are mandatory for the Informatik B.Sc.?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
moses-mcp
An MCP server for discovering degree programs and modules in Moses — TU Berlin's course, exam, and module planning system. It scrapes the public Modulverzeichnis (MTS) section, which requires no login and is meant to be browsed by students and staff.
There's no official Moses API, so this works by parsing the public MTS web pages directly.
Scope
Search and browse degree programs (Studiengänge) and their curriculum structure (Pflichtbereich, Wahlpflichtbereich, ...).
Search modules and read full module descriptions, including exam type (Prüfungsform) and which other degree programs use a given module.
Out of scope: Vorlesungsverzeichnis (VVZ)/timetables, and anything requiring login (exam registration, editing module data).
Related MCP server: OpenAlex MCP Server
Tools
Tool | What it does |
| Search degree programs by name, e.g. "Informatik" |
| Get a program's curriculum areas (Pflichtbereich, Wahlpflichtbereich, ...) with module/credit counts |
| List the modules in one curriculum area, with credits, grading, exam type, and Turnus — plus the StuPO's passing rules for that area (e.g. credit min/max) |
| Search modules by title or number, e.g. "Computer Vision" |
| Full module description: content, exam type, and which other degree programs use it |
Example things you can ask an MCP client connected to this server:
"Which modules are mandatory (Pflichtmodul) for the Informatik B.Sc.?"
"Of those, which use a Portfolioprüfung instead of a written exam?"
"Recommend some Computer Vision modules for the Computer Science Master's."
"What other degree programs can take module 40022?"
"Make me a 6-semester study plan for the Informatik B.Sc. specializing in Theoretical Computer Science" (respects each area's StuPO passing rules, not just credit totals)
Requirements
Node.js 20 or later
Setup
git clone <this-repo>
cd moses-mcp
npm install
npm run buildThis produces a runnable server at dist/index.js, which communicates over stdio (standard MCP transport).
Using it with an MCP client
Claude Code
claude mcp add moses -- node /absolute/path/to/moses-mcp/dist/index.jsThis registers the server at local scope (just this project, just you). Use -s user to make it available in every project, or -s project to check a shared .mcp.json into this repo for teammates. Check claude mcp list or run /mcp inside a session to confirm it's connected.
Claude Desktop / other stdio clients
Add it to your client's MCP server config, pointing at the built dist/index.js. For example, in Claude Desktop's claude_desktop_config.json:
{
"mcpServers": {
"moses": {
"command": "node",
"args": ["/absolute/path/to/moses-mcp/dist/index.js"]
}
}
}Any MCP client that supports stdio servers can use this the same way — point it at node dist/index.js.
A note on robots.txt
moseskonto.tu-berlin.de/robots.txt disallows automated access site-wide (Disallow: /), even though the MTS pages themselves require no authentication and are intended for public browsing. This tool is built for personal, low-volume use — not bulk crawling:
Requests are serialized (no concurrency) with a delay between them.
A descriptive User-Agent is sent.
Results are cached locally (default 24h TTL) so repeat lookups don't re-hit the server.
If you plan to use this beyond personal/occasional lookups, consider reaching out to innoCampus (who run Moses) about proper API access instead.
Development
npm install
npm run dev # run the MCP server via stdio (tsx, no build step)
npm run build # compile to dist/
npm test # run parser unit tests against saved HTML fixturesSince Moses is a stateful server-rendered app (Jakarta Faces/PrimeFaces) rather than a REST API, most of the scraping logic lives in src/parsers/ (HTML/XML parsing with cheerio) and src/mosesClient.ts (a small, polite HTTP client with a session cookie jar). scripts/prototype-area-expand.ts is a standalone script documenting/validating the one stateful AJAX interaction the tool replicates (expanding a curriculum area). scripts/e2e-check.ts runs the built server end-to-end against the live site.
Troubleshooting
A degree program's curriculum looks empty /
mapped: false: not every Studien-/Prüfungsordnung (StuPO) has a curriculum mapped for every semester yet.get_degree_program_structureautomatically tries a few StuPOs to find one with data if you don't specifystupo/semesterexplicitly.Stale results after a Moses update: pass
refresh: trueto any tool to bypass the cache, or delete the.cache/directory.A tool errors on an unfamiliar page structure: Moses' HTML can change between semesters/releases. Since this scrapes public pages rather than using a stable API, parsers in
src/parsers/may need small updates if that happens — issues/PRs welcome.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityCmaintenanceEnables read-only querying of Moodle as a student, including courses, assignments, grades, forums, and files, using a personal web services token.Last updated11
- Alicense-qualityCmaintenanceEnables searching scholarly papers and authors via the OpenAlex API, with no API key required.Last updatedMIT
- Flicense-qualityBmaintenanceEnables LLMs to interact with FIT CTU course materials, including listing subjects, navigating subpages, reading content as Markdown, and performing keyword searches.Last updated
- AlicenseAqualityBmaintenanceEnables searching and retrieving course listings, departments, and syllabi from National Chengchi University's public course API using natural language.Last updated3MIT
Related MCP Connectors
Unofficial NTNU course data: search, timetables, grades, course info, and exam logistics.
Search and download academic papers from arXiv, PubMed, bioRxiv, medRxiv, Google Scholar, Semantic…
Find academic papers across major sources like arXiv, PubMed, bioRxiv, and more. Download PDFs whe…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rjrichie/moses-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server