Syllabus Calendar Mcp

io.github.AnonymousOnyx22由 GitHub 账号 AnonymousOnyx22 发布v0.1.2更新于 Nov 1, 2026

Syllabus to calendar MCP: pull dates from a syllabus into .ics files, merge calendars. Offline.

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

离线 MCP 服务器,把粘贴的教学大纲文本转成带日期的事件、生成 .ics 日历文件,并合并多门课程日历以找出冲突。

可以做什么
  • 从粘贴的教学大纲文本中提取带日期的事件,每行一个事件,含标题、类型、日期和可选时间,并列出没有日期的行
  • 为重复课程在两个日期之间生成上课日期,可跳过假期和阅读周
  • 用事件和重复课程生成有效的 .ics 日历,可带提醒,并可选写入文件
  • 把多份课程日历合并为一份,按 UID 去重,并列出时间重叠的事件
适用场景
适合学生或教师手上有粘贴文本或 PDF 导出的教学大纲、课程安排,想把它变成日历事件,或想把多门课程日历合并并检查上课时间冲突的场景。
运行要求
通过 npx 从 npm 包 syllabus-calendar-mcp 以 stdio 在本机运行,需要 Node.js 20 或更高版本。无需账号、API 密钥或网络。写入文件需提供 output_path,且目标文件夹须已存在。
安装前请注意
传入 output_path 时 build_ics 和 merge_calendars 会写入文件,服务器不会创建文件夹;相对路径按服务器启动目录解析。没有年份的日期默认使用当前年份,请核对结果中显示的年份。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Syllabus Calendar Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

syllabus to calendar mcp

[npm] [downloads] [license] [star on github]

syllabus to calendar mcp is a free mcp server, published on npm as syllabus-calendar-mcp. turn pasted syllabus text into calendar events, build valid .ics files from events and recurring classes, skip holidays and reading weeks, and merge calendars to find conflicts. the math and parsing are done by tested code. it runs on your computer, needs no internet and no login.

parses pasted text from Canvas, Brightspace, Moodle or a PDF export.

free forever. no account.

comparison

brightspace-mcp-server and @exhabition/brightspace-mcp need a brightspace login before they can read anything. this server needs no account, no api key and no network. it works on syllabus text you paste, so it covers any school's syllabus, not only brightspace courses.

sample output

paste text like this:

text
Assignment 1 due Sep 15Midterm exam October 20 at 10:00Lab report 2 due Dec 8

extract_schedule_events with course set to BIO 101 and year set to 2026 returns:

text
3 events found.
- Tue, Sep 15, 2026: Assignment 1 (assignment) [BIO 101]- Tue, Oct 20, 2026 at 10:00: Midterm exam (exam) [BIO 101]- Tue, Dec 8, 2026: Lab report 2 (lab) [BIO 101]
Next: pass these events to build_ics as events to make an .ics calendar.

if a pasted line has no date, it is not dropped. extract_schedule_events returns those lines in undated_lines and lists them below the events, so you can fix the text and run the tool again.

build_ics turns those events into a calendar that starts like this:

ics
BEGIN:VCALENDARVERSION:2.0PRODID:-//AnonymousOnyx22//syllabus-calendar-mcp//ENCALSCALE:GREGORIANMETHOD:PUBLISHX-WR-CALNAME:BIO 101

import into your calendar

the .ics file works in any calendar app. save the file, then import it.

google calendar

open google calendar in a browser. click the gear icon, then settings. open import and export, choose the .ics file, pick the calendar to add it to, then click import.

apple calendar

double click the .ics file. calendar opens and asks which calendar to add the events to. or open calendar, choose file, then import.

outlook

open outlook. choose file, then open and export, then import and export. pick import an ics or vcal file, select the .ics file and import it.

install

run it straight from npm with npx. you need node.js 20 or newer, see node version for the details.

bash
npx -y syllabus-calendar-mcp

add it to your ai app's mcp config so the app can start it for you. every app reads its config from its own file, so pick yours:

claude desktop

add this to claude_desktop_config.json:

json
{  "mcpservers": {    "syllabus-calendar": {      "command": "npx",      "args": ["-y", "syllabus-calendar-mcp"]    }  }}

restart claude desktop after you save the file.

command line

run this in a terminal:

bash
npx -y @modelcontextprotocol/inspector syllabus-calendar-mcp

cursor

cursor reads mcp.json from the project folder at .cursor/mcp.json, or from your home folder at ~/.cursor/mcp.json.

json
{  "mcpservers": {    "syllabus-calendar": {      "type": "stdio",      "command": "npx",      "args": ["-y", "syllabus-calendar-mcp"]    }  }}

restart cursor after you save the file.

vs code copilot

put this in .vscode/mcp.json in your project folder, or in the mcp.json file in your user profile:

json
{  "servers": {    "syllabus-calendar": {      "type": "stdio",      "command": "npx",      "args": ["-y", "syllabus-calendar-mcp"]    }  }}

vs code also reads a portable .mcp.json file in the project root. that file uses the name mcpservers instead of servers:

json
{  "mcpservers": {    "syllabus-calendar": {      "command": "npx",      "args": ["-y", "syllabus-calendar-mcp"]    }  }}

restart vs code after you save the file.

try these four prompts

  1. turn syllabus text into events

    "turn this syllabus into calendar events: assignment 1 due sep 15, midterm exam october 20 at 10:00."

    the model calls extract_schedule_events and returns dated events with types and times.

  2. add a recurring class

    "my biology class meets tuesday and thursday from sep 8 to dec 10, 2026 at 10:00. skip the reading week of oct 12 to oct 16."

    the model calls expand_recurring_classes and returns meetings plus skipped dates.

  3. make an ics calendar

    "make an .ics file for my course with a reminder one day before each assignment."

    the model calls build_ics with events and reminders to produce a valid calendar.

  4. check for conflicts

    "merge my three course calendars and tell me which classes conflict."

    the model calls merge_calendars, which merges the calendars, drops duplicate events by uid and lists timed events that overlap.

tools

four tools. these names are the ones your ai app sees.

toolparameterswhat it doesexample prompt
extract_schedule_eventstext, course, yearextract dated events from pasted syllabus text, one per line with dates. lines with no date are returned in undated_lines. ends with a next step hint to build_ics."turn this syllabus into calendar events: assignment 1 due sep 15, midterm exam october 20 at 10:00."
expand_recurring_classescourse, title, weekdays, start_date, end_date, start_time, end_time, location, holidays, reading_weeksgenerate meeting dates for a recurring class, skipping holidays and reading weeks. ends with a next step hint to build_ics."my biology class meets tuesday and thursday from sep 8 to dec 10, 2026 at 10:00. skip the reading week of oct 12 to oct 16."
build_icsevents, classes, reminders_minutes, calendar_name, output_pathbuild a valid .ics calendar from events and classes, with reminders. write to a file when output_path is passed."make an .ics file for my course with a reminder one day before each assignment."
merge_calendarscalendars, calendar_name, output_pathmerge calendars, dedupe by uid and list timed conflicts. write to a file when output_path is passed."merge my three course calendars and tell me which classes conflict."

every tool returns text and structured data. build_ics and merge_calendars may write files; other tools are read only.

troubleshooting

zero events came back. extract_schedule_events makes one event from each line that names a date. check undated_lines in the result: those are the lines it skipped. paste the schedule with one item per line, and write dates like "sep 15" or "9/15" on the same line as the title. if the text is one long paragraph, split it into lines first and try again.

the dates have the wrong year. when a date has no year, the tool uses the current year. the result shows the year it used. pass year (for example 2026) to extract_schedule_events, or write the year in the date. for expand_recurring_classes, give start_date and end_date with the full year.

the file was not written. build_ics and merge_calendars only write a file when you pass output_path. the folder has to exist already, because the server does not create folders. use a full path you can write to, such as a folder in your home directory. a relative path is resolved from the folder the server was started in, which may not be where you expect. if you leave output_path out, you get the calendar text back and can save it as a .ics file yourself.

the server does not show up in your app. check that your node.js is version 20 or newer, then restart the app after you edit its config. the install steps above show the exact entry for each app.

node version

there are two floors here, and they are not the same number.

what you are doingnode.js
running the published server20 or newer
building and testing a clone22.12 or newer, on the 22 and 24 release lines or 26 and later

the server itself is happy on node.js 20, and that is what engines in package.json says. the test tool wants a newer node.js, so the development floor lives in devengines in the same file. npm checks devengines before install and before tests. serviceh numbers live in package.json.

development

bash
npm installnpm run buildnpm test

the tests call tools through a real mcp client. no account or network needed.

privacy

all processing is local. no data is stored. no network calls. no login or keys required.

More free student MCP servers

All free, open source and read only where they touch your accounts. Browse the full list at brightspacemcp.com/more-mcps.

ServerWhat it does
Brightspace MCPD2L Brightspace for AI. Due dates with real submission status, grades, a target grade calculator and course files.
Canvas MCPCanvas LMS for AI, read only. Due dates, missing work, grades and announcements.
Moodle MCPMoodle for AI, read only. Due dates, overdue work, grades and announcements.
Google Classroom MCPGoogle Classroom for AI, read only. Todos, due dates, missing work and grades.
GPA Calculator MCPGPA, grade conversion and the grade you need on the final, for AI. Works offline, no account.
Citations MCPAPA, MLA and Chicago citations from a DOI, an ISBN or typed details. No account.
Study Planner MCPExam study schedules, spaced repetition dates, pomodoro plans and assignment milestones. Works offline.
Paper Finder MCPSearch scholarly papers, find open access copies and related work through OpenAlex. No key needed.
BibTeX Reference Manager MCPClean, convert, dedupe and lint BibTeX, RIS and CSL JSON reference lists, and make cite keys. Works offline.
Open Textbook Finder MCPFind free legal copies of textbooks on OpenStax, DOAB and Open Library, look up editions by ISBN and suggest cheaper older ones.
STEM Calculator MCPChemistry and physics homework math: molar mass, balancing equations, grams to moles, unit conversion and significant figures. Works offline.
Essay Stats MCPOffline writing metrics for essays. Word and page counts, readability scores, passive voice, repeated openers, filler words, long sentences and word limit checks, so students can check their work against assignment requirements. No account, no network.
Job Application Tracker MCPJob application tracker MCP server. Track internships, jobs, interviews and deadlines offline, see what is coming up, and export your list as CSV or Markdown. No account and no API keys.

license

mit

来源:README.md,提交 a99520d

工具

4

extract_schedule_events

Extract schedule events

Extract dated events from pasted syllabus text. Each line that names a date becomes one event, with a title, a type, a date and optional times. Inputs: text (the pasted syllabus or course schedule, one event per line), course (a course name or code to put on every event) and year (the year to use when a date has no year). Titles are read from the words around the date, and each event is marked as an assignment, exam, quiz, lab, reading, class or other. Any line that has no date is returned in undated_lines instead of being dropped silently. The answer ends with a next step hint that points to build_ics when the events should become a calendar. Example prompt: "Turn this syllabus into calendar events: Assignment 1 due Sep 15, Midterm exam October 20 at 10:00."

输入参数text必填yearcourse

expand_recurring_classes

Expand recurring classes

Generate the meeting dates for a recurring class between two dates, and skip holidays and reading weeks. Inputs: course, weekdays (day names or codes such as Tuesday or TU), start_date, end_date, start_time, optional end_time, optional location, holidays (single dates or ranges) and reading_weeks (single dates or ranges). Returns every meeting date plus the dates that were skipped and why. The answer ends with a next step hint that points to build_ics when the class should become a calendar. Example prompt: "My biology class meets Tuesday and Thursday from Sep 8 to Dec 10, 2026 at 10:00. Skip the reading week of Oct 12 to Oct 16."

输入参数titlecourse必填end_date必填end_timeholidayslocationweekdays必填start_date必填start_time必填reading_weeks

build_ics

Build an ics calendar

Build a valid .ics calendar file from dated events and recurring classes, with reminders. Inputs: events (each with title, date, optional start_time, end_time, type, course, location and notes), classes (each with course, weekdays, start_date, end_date, start_time and optional end_time, location, holidays and reading_weeks), reminders_minutes (whole minutes before each event, default 60), calendar_name and optional output_path. Each class becomes one weekly recurring event with holidays and reading weeks removed. The tool checks the file before returning it. Example prompt: "Make an .ics file for my course with a reminder one day before each assignment."

输入参数eventsclassesoutput_pathcalendar_namereminders_minutes

merge_calendars

Merge course calendars

Merge several course calendars into one and list timed events that overlap. Inputs: calendars (each with an optional name and an ics string), optional calendar_name and optional output_path. Events with the same UID are kept once. Weekly and daily recurring events are expanded when conflicts are checked. Example prompt: "Merge my three course calendars and tell me which classes conflict."

输入参数calendars必填output_pathcalendar_name

版本历史

3
  1. v0.1.2最新Nov 1, 2026
  2. v0.1.1Oct 31, 2026
  3. v0.1.0Oct 30, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分