Skip to main content
Glama
Top Academy MCP Server

Top Academy MCP Server

by egoistsar

Top Academy MCP Server

Python 3.10+ License: MIT MCP Compatible

Connect this server to your AI agent and ask it to find an IT course — right in the chat, no browser needed.

Works with Claude Desktop, Cursor, Windsurf, Cline and any MCP-compatible client.


Tools

Tool

Description

find_course

Find courses by description: "want to become a designer", "Python from scratch"

check_enrollment

Check enrollment status: open now / in 1 month / on request

list_directions

List all directions: programming, design, marketing, etc.

116 IT courses from top-academy.ru, updated nightly.


Related MCP server: Udemy MCP Server

Quick Start (Claude Desktop / Cursor)

1. Clone and install

git clone https://github.com/top-academy/top-academy-mcp.git
cd top-academy-mcp
pip install -r requirements.txt

2. Add to Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "academy-top": {
      "command": "python3",
      "args": ["/absolute/path/to/top-academy-mcp/server.py"]
    }
  }
}

Restart Claude Desktop. The MCP tools icon will appear in the bottom-left corner.

3. Add to Cursor

Settings → MCP → Add Server:

{
  "command": "python3",
  "args": ["/absolute/path/to/top-academy-mcp/server.py"]
}

Use Public Server (HTTP)

A ready-to-use server is hosted at https://mcp.top-academy.ru.

Request an API key: online.top-academy.ru

Claude Desktop:

{
  "mcpServers": {
    "academy-top": {
      "url": "https://mcp.top-academy.ru/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Cursor (HTTP mode):

{
  "url": "https://mcp.top-academy.ru/mcp",
  "headers": { "Authorization": "Bearer YOUR_API_KEY" }
}

Example Prompts

I want to learn Python from scratch. How much does it cost and when can I start?
Show all directions with enrollment open right now
Is there a cybersecurity course? When is the next group?

Self-Host on VPS

Requirements

Parameter

Minimum

Recommended

CPU

1 vCPU

2–4 vCPU

RAM

512 MB

2 GB

OS

Ubuntu 22.04

Ubuntu 22.04

Python

3.10+

3.11+

Deploy

git clone https://github.com/top-academy/top-academy-mcp.git /opt/top-academy-mcp
cd /opt/top-academy-mcp
pip3 install -r requirements.txt

# Generate API key
python3 -c "import secrets; print(secrets.token_urlsafe(32))"

Run

API_KEY=your_key MODE=http python3 server.py
# or with multiple workers:
API_KEY=your_key uvicorn server:http_app --host 0.0.0.0 --port 8000 --workers 4

Check health:

curl http://localhost:8000/health
# {"status": "ok", "courses": 116}

Systemd (auto-start after reboot)

Create /etc/systemd/system/top-academy-mcp.service:

[Unit]
Description=Top Academy MCP Server
After=network.target

[Service]
User=ubuntu
WorkingDirectory=/opt/top-academy-mcp
Environment="API_KEY=your_key"
ExecStart=uvicorn server:http_app --host 127.0.0.1 --port 8000 --workers 4
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable top-academy-mcp
sudo systemctl start top-academy-mcp
server {
    listen 443 ssl;
    server_name mcp.your-domain.ru;

    ssl_certificate /etc/letsencrypt/live/mcp.your-domain.ru/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/mcp.your-domain.ru/privkey.pem;

    location / {
        proxy_pass http://127.0.0.1:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
    }
}

Get free SSL with certbot:

sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d mcp.your-domain.ru

Nightly Data Update (cron)

# Add to crontab (crontab -e):
0 3 * * * /opt/top-academy-mcp/update_data.sh >> /var/log/top-academy-mcp-update.log 2>&1

update_data.sh is included in the repo — it scrapes the course catalog and restarts the server.


GitHub Actions (auto-deploy on push)

Create .github/workflows/deploy.yml:

name: Deploy
on:
  push:
    branches: [main]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Deploy to VPS
        uses: appleboy/ssh-action@v1
        with:
          host: ${{ secrets.VPS_HOST }}
          username: ${{ secrets.VPS_USER }}
          key: ${{ secrets.VPS_SSH_KEY }}
          script: |
            cd /opt/top-academy-mcp
            git pull
            systemctl restart top-academy-mcp


MCP-сервер Академии ТОП (на русском)

Подключи этот сервер к своему AI-агенту и попроси его подобрать онлайн-курс — прямо в диалоге, без браузера.

Что умеет сервер

Инструмент

Что делает

find_course

Подбирает курсы по описанию: «хочу стать дизайнером», «Python с нуля»

check_enrollment

Проверяет статус записи: открыта сейчас / через 1 мес / по заявке

list_directions

Показывает все направления: программирование, дизайн, маркетинг и др.

Режим 1: Локальный запуск (stdio) — для Claude Desktop / Cursor

1. Установи зависимости

python3 -m pip install -r requirements.txt

2. Подключи к Claude Desktop

Открой или создай файл:

~/Library/Application Support/Claude/claude_desktop_config.json

Добавь секцию mcpServers:

{
  "mcpServers": {
    "academy-top": {
      "command": "python3",
      "args": ["/ABSOLUTE/PATH/TO/top-academy-mcp/server.py"]
    }
  }
}

3. Перезапусти Claude Desktop

После изменения конфига нужно полностью закрыть и открыть Claude Desktop. В левом нижнем углу появится иконка MCP-инструментов.

Режим 2: HTTP-сервер (деплой на VPS)

Смотри английскую секцию выше — всё детально описано там.

Быстрый запуск:

API_KEY=ваш_ключ MODE=http python3 server.py

Подключение клиентов:

{
  "mcpServers": {
    "academy-top": {
      "url": "https://mcp.top-academy.ru/mcp",
      "headers": {
        "Authorization": "Bearer ваш_ключ"
      }
    }
  }
}

Примеры запросов

Хочу освоить Python с нуля. Сколько стоит и когда можно начать?
Покажи все направления с открытым набором прямо сейчас
Есть ли курс по кибербезопасности? Когда ближайшая группа?

Обновление данных о курсах

Данные хранятся в data/courses_enriched.json. Чтобы обновить (после изменения каталога):

python3 update_data.sh
# или вручную:
python3 /path/to/scrape_courses.py

После обновления файла перезапустить сервер — данные загружаются при старте.

Ссылки

  • Сайт Академии ТОП: online.top-academy.ru

  • Все ссылки из сервера содержат UTM-метку для отслеживания переходов в Яндекс Метрике

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to retrieve up-to-date documentation for Russian services (payments, fiscal receipts, messengers, CRM, data/SMS/AI, 1C) and the verified integration pitfalls tied to each topic, with links back to the original sources. Documentation is indexed locally and refreshed automatically, so agents can resolve libraries, fetch topical fragments, and pull gotchas on demand.
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search roughly 5,700 Persian online courses, compare prices, discounts and ratings, find free or cheapest offerings, and read curricula, teacher profiles and learner reviews. Read-only with no API key or account required.
      12
      238 PyPI
      PolyForm Noncommercial 1.0.0