Skip to main content

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

Project description

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 subsequent 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:

"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.

"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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usos_mcp-0.3.4.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usos_mcp-0.3.4-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file usos_mcp-0.3.4.tar.gz.

File metadata

  • Download URL: usos_mcp-0.3.4.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for usos_mcp-0.3.4.tar.gz
Algorithm Hash digest
SHA256 31ee4359d478699edc073cb10b78bf72710174d75b1b022521e3bfaeb2a3504b
MD5 e7944e17bb7e4b0b05150659ca0832ba
BLAKE2b-256 83a59968904f82db72503ad55e0a40dbb0033abeacb6ed13a9dd9960b4d25ef0

See more details on using hashes here.

File details

Details for the file usos_mcp-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: usos_mcp-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for usos_mcp-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 963afc2ff41a779cbddcdbcdbaf0c7b81c3ce34dbac977385d98c89842ec3251
MD5 23f02d00f3692a94c110d0fe40f4e02d
BLAKE2b-256 d06a1a0f5ab10e34591e34d5d02c383e340af225128b0a1046a8f4284275d17e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page