MCP server for searching Keio SFC course syllabi / 慶應SFCシラバス検索MCPサーバー
sfc-syllabus-mcp
MCP server for searching Keio SFC (Shonan Fujisawa Campus) course syllabi.
Search SFC courses in natural language from Claude Code or any MCP-compatible AI tool.
Data Source
Public syllabus data from syllabus.sfc.keio.ac.jp. No authentication required.
Tools
| Tool | Description |
|------|-------------|
| search_courses | Search by keyword, instructor, day, semester, field, language |
| get_course | Get course details by ID |
| list_instructors | List all instructors (with optional filter) |
| course_stats | Get statistics (total courses, by semester/faculty/format/language) |
Setup
1. Clone
git clone https://github.com/Koyach/sfc-syllabus-mcp.git
cd sfc-syllabus-mcp
2. Install dependencies
uv sync
3. Scrape syllabus data
uv run python scraper.py 2025
Specify the year. Outputs data/courses_2025.json.
4. Register with Claude Code
claude mcp add sfc-syllabus -- uv run --directory /path/to/sfc-syllabus-mcp python server.py
Replace /path/to/ with the actual path.
5. Verify
Run /mcp in Claude Code to confirm the server is connected.
Usage Examples
Ask Claude Code things like:
- "Search for programming courses at SFC"
- "List Monday spring semester classes"
- "What courses are taught in English?"
- "Find data science courses"
Update Data
Re-run the scraper each semester:
uv run python scraper.py 2025 2026
Multiple years can be specified at once.
Tech Stack
- Python 3.12
- FastMCP (MCP Python SDK)
- httpx + BeautifulSoup4 (scraping)
License
MIT
sfc-syllabus-mcp(日本語)
慶應義塾大学 湘南藤沢キャンパス(SFC)のシラバスを検索できるMCPサーバー。
Claude Code や他のMCP対応AIツールから、SFCの授業を自然言語で検索できる。
データソース
syllabus.sfc.keio.ac.jp の公開シラバスデータ。認証不要。
提供ツール
| ツール | 説明 |
|--------|------|
| search_courses | 科目名・教員名・曜日・学期・分野・言語で検索 |
| get_course | 科目IDで詳細取得 |
| list_instructors | 教員一覧(絞り込み可) |
| course_stats | 統計情報(科目数・学期別・言語別など) |
セットアップ
1. クローン
git clone https://github.com/Koyach/sfc-syllabus-mcp.git
cd sfc-syllabus-mcp
2. 依存関係インストール
uv sync
3. シラバスデータ取得
uv run python scraper.py 2025
年度を指定して実行。data/courses_2025.json が生成される。
4. Claude Code に登録
claude mcp add sfc-syllabus -- uv run --directory /path/to/sfc-syllabus-mcp python server.py
/path/to/ を実際のパスに置き換えること。
5. 動作確認
Claude Code で /mcp を実行してサーバーが接続されていることを確認。
使い方の例
Claude Code に以下のように聞ける:
- 「SFCでプログラミング系の授業を教えて」
- 「月曜の春学期の授業一覧」
- 「英語で開講されている授業は?」
- 「データサイエンス系の授業を探して」
データ更新
学期ごとにスクレイパーを再���行:
uv run python scraper.py 2025 2026
複数年度を同時に指定可能。