Skip to main content
Glama

hisinone-mcp

An MCP server that reads study data from a HISinOne campus portal and downloads the documents of the signed-in account.

The server targets the portal of Reutlingen University, but the base URL is a setting. Other HISinOne installations use the same page structure.

What the server can do

HISinOne has no public API for study data. The server signs in with the ordinary web form and reads the rendered pages. It exposes nine tools.

Tool

Purpose

hisinone_get_profile

Name, subjects and contact values of the account

hisinone_get_achievements

Full grade tree with credit points and status

hisinone_list_semesters

The terms that the portal offers, with their keys

hisinone_get_enrollments

Course and exam registrations of one term

hisinone_get_timetable

Personal appointments with room and repeat rule

hisinone_list_documents

Certificates and reports that the portal can produce

hisinone_download_document

Produce one document and store it on disk

hisinone_download_url

Store one portal file by its address

hisinone_search_courses

Search the course catalogue

hisinone_list_documents gives the key that hisinone_download_document needs. A portal usually offers the enrolment certificate, the fee certificate, the transcript of records and the study history.

Related MCP server: canvas-session-mcp

Setup

  1. Copy .env.example to .env.

  2. Put your portal account and password into .env.

  3. Start the development shell with nix develop.

The shell installs Python 3.14, uv, ruff and basedpyright. It also creates a virtual environment in .venv, which Zed and its language servers find.

Without Nix, run uv sync --all-groups instead.

Settings

Each setting is an environment variable. The server also reads a .env file in the working directory.

Variable

Default

Purpose

HISINONE_USERNAME

—

Portal account name

HISINONE_PASSWORD

—

Portal account password

HISINONE_BASE_URL

https://hisinone.reutlingen-university.de

Portal root

HISINONE_DOWNLOAD_DIR

downloads

Directory for downloaded files

HISINONE_TIMEOUT

45.0

HTTP timeout in seconds

Run the server

uv run hisinone-mcp

The server speaks the MCP stdio transport. To add it to Claude Code:

claude mcp add hisinone -- uv run --directory /path/to/hisinone-mcp hisinone-mcp

Layout

src/hisinone_mcp/
  config/     Settings
  errors/     One error class per file
  parsing/    Document, JsfForm and CalendarFeed
  session/    The signed-in HTTP client
  model/      Result models, one domain per directory
  service/    One reader per portal area
  server.py   The MCP tool definitions

Each file holds exactly one class.

How the portal reading works

The portal runs on JavaServer Faces. A page keeps its state in hidden fields. A button press is a form POST that repeats every field and adds the name of the button. JsfForm does this work.

Three details decide whether a reader works:

  • The grade page shows its tree collapsed. The reader presses the expand control before it parses the table.

  • A certificate is a server job. The reader presses the document button, waits for the job and follows the download link that carries a document id.

  • The timetable page needs JavaScript, but it also publishes an iCalendar feed. The reader takes the feed address from the page and parses the feed.

A portal update can change a page. A tool then reports that the page layout changed, and the parser needs an update.

Checks

ruff check .
ruff format --check .
basedpyright

Limits

  • The server acts as one account. It holds no multi-user session.

  • It reads data and downloads files. It does not register for exams or courses.

  • Reutlingen University does not use the course registration module. The registration tool therefore reports an empty term for that portal.

License

MIT

Available Tools

9 tools
hisinone_download_documentDownload a certificate or a reportA

Let the portal produce one document and store it on disk. Call hisinone_list_documents first to get a key. The tool waits for the portal job and returns the path of the stored file.

Inputs: key (required), target_dir. Returns: A file that the server wrote to the local disk.

hisinone_download_urlDownload a portal file by addressB

Store one file that a portal page links to, for example a document link that carries a docId. The address must point at the portal.

Inputs: url (required), filename, target_dir. Returns: A file that the server wrote to the local disk.

hisinone_get_achievementsGet grades and credit pointsA
Read-onlyIdempotent

Read the full achievement tree of the account, which the portal calls Leistungen. The result holds every degree program, module, exam and attempt with its grade, status and credit points.

Inputs: no named parameters. Returns: The achievement overview of one account.

hisinone_get_enrollmentsGet the registrations of a termA
Read-onlyIdempotent

Read the course and exam registrations of one term. Call hisinone_list_semesters first to get a term key.

Inputs: semester_key. Returns: The registrations that one term holds.

hisinone_get_profileGet the account profileA
Read-onlyIdempotent

Read the name, the subjects and the contact values of the signed-in account.

Inputs: include_contact. Returns: Person data, subjects and contact values of one account.

hisinone_get_timetableGet the personal timetableA
Read-onlyIdempotent

Read the appointments of the personal timetable. Each appointment holds the course, the room, the time and the repeat rule.

Inputs: end, start. Returns: The personal timetable of one account.

hisinone_list_documentsList the documents that the portal offersA
Read-onlyIdempotent

List the certificates and reports that the portal can produce, such as the enrolment certificate or the transcript of records. Each entry holds the key that hisinone_download_document needs.

Inputs: no named parameters. Returns: result

hisinone_list_semestersList the selectable termsA
Read-onlyIdempotent

List the terms that the portal offers, with the key of each term.

Inputs: no named parameters. Returns: result

hisinone_search_coursesSearch the course catalogueA
Read-onlyIdempotent

Search the course catalogue by text. The result holds the course number, the title, the teachers and the portal page of each course.

Inputs: query (required), limit, semester_key. Returns: The results that one course search produced.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: profile, achievements, semesters, enrollments, timetable, courses, and documents. Even the two download tools are clearly separated by description (portal-generated documents vs arbitrary portal file links).

    Naming Consistency5/5

    All tools follow the same hisinone_ prefix with a consistent verb_noun pattern (list_, get_, download_, search_). This makes the tool surface predictable and easy to navigate.

    Tool Count5/5

    Nine tools is well-scoped for a university portal domain. Each tool covers a meaningful capability without redundancy or bloat.

    Completeness4/5

    The surface covers the main read-oriented workflows: profile, academic achievements, enrollments, timetable, course search, and document retrieval. It lacks write operations, but for a self-service portal read access is the primary expected scope.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables TU Delft students to access their Brightspace courses, OSIRIS records, MyTimetable schedule, and the Study Guide through any MCP client. It handles sign-in and requires confirmation before performing write actions.
      20 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Lets AI assistants read a student's Canvas LMS/Moodle courses, deadlines, announcements, grades and course files using their normal browser login instead of an access token. It is read-only and keeps all session data and downloads on the user's own machine.
      35 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only access to a user's university course documents through their existing account, supporting course listing, file browsing, PDF text extraction, and slide rendering.
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables read-only searching of HISinOne campus portals for courses and details without login, plus retrieval of personal timetable and grade overviews through an existing hisinone-cli session.
      4
      MIT