Skip to content

skalskidaniel/usos-mcp

Repository files navigation

USOS Model Context Protocol (MCP) Server

A standardized Model Context Protocol (MCP) server that bridges the official USOS API (Uniwersytecki System Obsługi Studiów) with generative AI clients (such as Claude Code, Claude Desktop, Cursor, and web-based assistants via tunnels).

This server allows students of Polish universities to query their schedules, track academic grades, monitor ECTS accumulation, search for lecturer contact data, and review study programs through natural language conversations.


Usage with MCP Clients (e.g., Cursor, Claude desktop)

You can connect this server to any MCP-compatible client like Cursor.

Authenticating with USOS

Use the authenticate_me prompt to guide the user through the interactive OAuth setup. It should be run one step at a time, waiting for the user's response before continuing. Alternatively, the user can call the login tool directly. Once authentication is complete, credentials are saved securely to local file storage (typically ~/.config/usos-mcp/store/auth/credentials.json) so they do not need to be supplied as environment variables in later runs.

Option A: Running via PyPI (Recommended)

If you have uv installed, you can use uvx to fetch and run the package dynamically without manual installation:

{
  "mcpServers": {
    "usos": {
      "command": "uvx",
      "args": [
        "--from",
        "usos-mcp",
        "server"
      ]
    }
  }
}

Option B: Running via Docker

If you prefer not to install Python/uv locally, you can use the Docker image. The -i flag is required for MCP to communicate over standard input/output.

{
  "mcpServers": {
    "usos": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/skalskidaniel/usos-mcp:latest"
      ]
    }
  }
}

Contributing

Contributions are welcome! This server is built with a modular registry pattern that makes adding new USOS API integrations simple.

See CONTRIBUTING.md for a guide on how to add your own tools, prompts, and resources.

About

MCP server for USOS (Uniwersytecki System Obsługi Studiów).

Topics

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors