braude-mcp
Click on "Deploy 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., "@braude-mcpShow me the academic calendar for this year"
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.
Braude College MCP Server (Cloudflare Worker)
A remote, serverless Model Context Protocol (MCP) server for Ort Braude College of Engineering, powered by a pure edge database architecture deployed on Cloudflare Workers.
This server enables AI assistants (such as Claude, Codex, Cursor, Windsurf, Gemini Spark, or custom LLM agents) to query academic calendar dates, search the latest-year Braude course catalog, retrieve scraped lecture/lab schedules, and read ingested syllabus PDF text (topics, exams, grading) from the database. User queries never scrape the college live; a background job every 3 days refreshes the catalog, timetable, calendar, and syllabus PDFs into D1.
โ ๏ธ Legal & Ethical Disclaimer
Unofficial Server: This project is an independent, open-source community tool and is NOT affiliated with, authorized, maintained, sponsored, or endorsed by Ort Braude College of Engineering.
Robots.txt Compliance: This server strictly respects and adheres to the
robots.txtguidelines specified byw3.braude.ac.ilandinfo.braude.ac.il.No Private Data Access: It does NOT access, scrape, or store any private student data, personal accounts, grades, or password-protected portals.
Zero-Load User Queries: User queries hit the persistent database layer with zero live scraping, ensuring zero load on college servers during runtime.
Polite Background Refresh: A Cloudflare Cron Trigger (
0 0 */3 * *) and thePOST /syncendpoint refresh the latest academic year from FireFly (catalog, weekly timetable, and every public syllabus PDF) into D1. MCP queries only read that database.
๐ ๏ธ Features & Available Tools
Tools
Tool Name | Description | Example Arguments |
| Scraped academic calendar from D1/seed (semester dates, exams, holidays). Updated every 3 days. Errors if nothing has been scraped; does not invent dates. |
|
| Searches the latest academic year catalog (currently 571 taught courses) by keyword, code, or department name. |
|
| Comprehensive course record from the database: weekly slots, instructors, rooms, credits, and ingested syllabus PDF (attendance / ืืืืช ื ืืืืืช, grading, exam, topics). |
|
| Full ingested syllabus plus parsed sections: whether attendance is required, grading/exam rules, topics, objectives, AI policy, and the site schedule. Do not fetch the PDF URL. |
|
Resources
Resource URI | MIME Type | Description |
|
| Provides immediate JSON access to the active academic year's calendar events directly from the database. |
Related MCP server: mcpUPB
๐ Client Connection Guide
Updating an existing app or AI agent for the new syllabus/attendance tools: give it AI_CLIENT_UPDATE.md.
Replace https://braude-mcp.<your-subdomain>.workers.dev/mcp with your deployed Cloudflare Worker URL (or http://127.0.0.1:8787/mcp if running locally).
1. Claude (Claude Desktop & Claude Code CLI)
Claude Desktop App
Edit your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"braude": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-fetch",
"https://braude-mcp.<your-subdomain>.workers.dev/mcp"
]
}
}
}Claude Code CLI
Add the remote server via terminal:
claude mcp add braude https://braude-mcp.<your-subdomain>.workers.dev/mcp2. Codex, Cursor, Windsurf & Antigravity IDEs
In your IDE settings or MCP configuration file (.cursor/mcp.json or .codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"braude-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-fetch",
"https://braude-mcp.<your-subdomain>.workers.dev/mcp"
]
}
}
}3. Gemini Spark & Custom AI Agents
for Gemini Spark go to "Connected Apps", scroll down to "Custome Apps" and click on "Add Custome App" and in there insert the url: https://braude-mcp.<your-subdomain>.workers.dev/mcp and procced with the instructions of gemini.
๐ Deployment Guide
Prerequisites
Node.js v18.0.0 or higher
npm v9.0.0 or higher
A free Cloudflare Account
Manual Deployment via Wrangler
Install dependencies:
npm installAuthenticate Wrangler:
npx wrangler loginDeploy:
npm run deploySet an owner-only sync secret (required;
/syncis not public):npx wrangler secret put SYNC_SECRETPaste a long random token when prompted. Do not commit it.
Refresh D1 (you only, with that secret):
curl -X POST https://braude-mcp.<your-subdomain>.workers.dev/sync \ -H "Authorization: Bearer YOUR_SYNC_SECRET"Queries read D1 first, then the bundled seed. Until
/syncruns, production D1 may still hold old data.The 3-day Cloudflare cron still refreshes D1 automatically and does not use HTTP, so it does not need this token.
๐ฆ Uploading the Project to GitHub
To publish this project to GitHub for the first time:
Initialize Git and commit code:
git init git add . git commit -m "feat: initial commit for braude-mcp server"Create repository and push to GitHub:
Using GitHub CLI (
gh):gh repo create braude-mcp --public --source=. --remote=origin --pushOr manually create a repository on GitHub and run:
git remote add origin https://github.com/YOUR_USERNAME/braude-mcp.git git branch -M main git push -u origin main
๐ค Automated Deployment via GitHub Actions (CI/CD)
This repository includes a GitHub Actions workflow (.github/workflows/deploy.yml) that automatically runs typechecks, runs the unit/integration test suite, and deploys to Cloudflare Workers whenever you push to main or master.
To enable automated deployment, you must add two secret credentials to your GitHub repository settings:
Step 1: Retrieve your CLOUDFLARE_ACCOUNT_ID
Log in to the Cloudflare Dashboard.
Click on Workers & Pages in the left sidebar navigation menu.
On the right side of the page, locate the Account ID field.
Click to copy the 32-character hexadecimal string.
Step 2: Create a CLOUDFLARE_API_TOKEN
In the Cloudflare Dashboard, click your profile icon in the top right corner and select My Profile.
Click API Tokens in the left sidebar menu.
Click the Create Token button.
Locate the Edit Cloudflare Workers template and click Use template.
Ensure the token permissions include:
Account | Workers Scripts | EditAccount | Account Settings | Read
Click Continue to summary, then click Create Token.
Copy the generated secret API Token string (Store it securely; Cloudflare will only show it once).
Step 3: Add Secrets to your GitHub Repository
Go to your repository on GitHub:
https://github.com/YOUR_USERNAME/braude-mcp.Click Settings (top tab).
In the left sidebar, expand Secrets and variables and click Actions.
Click New repository secret.
Set Name to
CLOUDFLARE_ACCOUNT_IDand Secret to your Account ID string. Click Add secret.Click New repository secret again.
Set Name to
CLOUDFLARE_API_TOKENand Secret to your API Token string. Click Add secret.
Now, every git push to main will automatically test and deploy your worker!
โ๏ธ Configuration & Environment Variables
Variable | Default | Description |
|
| Deployment environment state |
|
| Maximum requests allowed per IP per 1-minute window |
| (none) | Owner token for |
To set custom environment variables locally for development, copy .env.example to .dev.vars:
cp .env.example .dev.vars๐งช Testing & Quality Assurance
Run test suite:
npm testRun TypeScript typecheck:
npm run typecheckRebuild the bundled seed from the live FireFly latest year (catalog + weekly timetable):
npm run refresh-seedThen scrape per-course credits (ื ืงืืืืช ืืืืช), ืคืจืฉืืืช ืืืืื, and ingest syllabus PDF text (resumable):
npm run enrich-seed
# PDF text only (skips FireFly detail pages):
npm run enrich-seed -- --pdfs-onlyProduction D1 is filled by the same 3-day job as the catalog (cron 0 0 */3 * * or authenticated POST /sync): courses, schedules, calendar, and full syllabus PDF text. Every MCP query reads D1 (or the bundled seed fallback) and never fetches Braude URLs.
๐๏ธ Architecture
+----------------------------------+
| Claude / Codex / Gemini Spark |
+----------------------------------+
|
JSON-RPC 2.0 / HTTP POST
v
+----------------------------------+
| Cloudflare Worker (Hono) |
| - Rate Limiter (60 req/min/IP) |
| - CORS & Error Handling |
+----------------------------------+
|
v
+----------------------------------+
| MCP Dispatcher |
| - Tools: calendar & course |
| - Resource: braude://calendar |
+----------------------------------+
|
v
+----------------------------------+
| Universal Database Layer |
| - Zero live scraping on queries |
| - Cloudflare D1 / seed fallback |
| - Scraped latest-year timetable |
+----------------------------------+
^
| (Cron 0 0 */3 * * and POST /sync)
+----------------+----------------+
| Background sync (latest year) |
| FireFly session POST year |
| switch + timetable + details |
+----------------+----------------+
|
+----------------+----------------+
| |
v v
w3.braude.ac.il (Calendar) info.braude.ac.il (FireFly)๐ License
Distributed under the MIT License. See LICENSE for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes a university course catalog to LLMs, enabling course search, prerequisite lookup, instructor details, and department directory through natural language.-
- AlicenseNot gradedqualityDmaintenanceMCP server that turns UPB Virtual (Moodle) into a structured knowledge source, enabling AI assistants to query courses, assignments, deadlines, announcements, and sync materials via REST API.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that connects AI assistants to university D2L Brightspace and Piazza, enabling query of courses, grades, assignments, deadlines, files, and Piazza posts.7MIT
- FlicenseNot gradedqualityBmaintenanceMCP server that aggregates department notices and provides structured answers to queries about courses, schedules, and academic dates via tool calling.-