O'Reilly Learning Platform
Search and manage content on the O'Reilly Learning Platform.
O'Reilly Learning Platform MCP Server
O'Reilly Learning PlatformのコンテンツをModel Context Protocol (MCP)経由で検索・アクセスできるGoサーバーです。
[!WARNING] This project is an unofficial implementation of an MCP server for interacting with the O'Reilly Learning Platform. It is not affiliated with or endorsed by O'Reilly Media, Inc. in any way. This tool is provided for educational and personal use only, and may break at any time if the internal APIs or authentication flows used by O'Reilly change. Use at your own risk, and please refer to O'Reilly's Terms of Service before using this tool.
クイックスタート
Claude Code Pluginとしてインストール (推奨)
Claude Codeのプラグインシステムを使って簡単にインストールできます。
# マーケットプレイスを追加
/plugin marketplace add usadamasa/orm-discovery-mcp-go
# プラグインをインストール
/plugin install orm-discovery-mcp-go
注意: MCP Serverバイナリは別途インストールが必要です。Releasesからダウンロードするか、下記の手動ビルドを行ってください。
手動インストール
1. ツールのインストール
# aquaでツールをインストール
aqua install
# ビルド
task build
2. 認証設定
Cookie ライフサイクル
| タイミング | 動作 |
|---|---|
| 初回起動 / Cookie なし | Chrome が自動起動 → ブラウザで手動ログイン → Cookie を自動保存 |
| 2回目以降 | 保存済み Cookie を自動読み込み・認証 |
| Cookie 期限切れ | oreilly_reauthenticate ツールで Chrome 再起動 → 手動ログイン |
明示的にログインする場合
# --login フラグで Chrome を起動してログイン → Cookie 保存
./bin/orm-discovery-mcp-go --login
Cookie は ~/.cache/orm-mcp-go/ に自動保存されます。
3. 起動
# 開発用
go run .
# Claude Code MCP設定
claude mcp add -s user orm-discovery-mcp-go \
-- /your/path/to/orm-discovery-mcp-go
機能
MCPツール
oreilly_search_content: O'Reillyコンテンツの検索(書籍、動画、記事の発見)oreilly_ask_question: O'Reilly Answers AIへの自然言語での質問oreilly_reauthenticate: Cookie 期限切れ時の再認証(Chrome 自動起動 → 手動ログイン → Cookie 更新)
MCPリソース
oreilly://book-details/{product_id}: 書籍詳細情報oreilly://book-toc/{product_id}: 書籍目次oreilly://book-chapter/{product_id}/{chapter_name}: チャプター内容oreilly://answer/{question_id}: AI生成回答の取得orm-mcp://history/recent: 直近20件の調査履歴orm-mcp://history/search?keyword=xxx: キーワードで履歴検索orm-mcp://history/{id}: 特定の調査履歴の詳細
MCPプロンプト
learn-technology: 特定技術の学習パスを生成(例: Kubernetes、React)research-topic: 技術トピックの多角的な調査(例: マイクロサービスアーキテクチャ)debug-error: エラーメッセージのデバッグガイドを生成review-history: 過去の調査履歴をレビューしてパターンや傾向を分析continue-research: 過去の調査を継続して深掘りする
利用フロー
コンテンツ検索・アクセス
oreilly_search_contentで検索 →product_id取得book-detailsで書籍情報確認book-chapterで必要な章を取得
AI質問応答
oreilly_ask_questionで技術的な質問を投稿 →question_id取得oreilly://answer/{question_id}でAI生成回答を取得
プロンプト活用
- 技術学習:
learn-technologyで学習したい技術名を指定 → 体系的な学習パスを取得 - 技術調査:
research-topicで調査トピックを指定 → 多角的な調査結果を取得 - エラー解決:
debug-errorでエラーメッセージを指定 → デバッグガイドを取得
調査履歴の活用
orm-mcp://history/recentで直近の調査履歴を確認orm-mcp://history/search?keyword=dockerでキーワード検索review-historyプロンプトで傾向分析continue-researchプロンプトで過去の調査を深掘り
ファイル保存先
XDG Base Directory Specificationに準拠しています。
| 用途 | XDG環境変数 | デフォルトパス |
|---|---|---|
| ログ、Chrome一時データ、スクリーンショット | $XDG_STATE_HOME | ~/.local/state/orm-mcp-go/ |
| Cookie | $XDG_CACHE_HOME | ~/.cache/orm-mcp-go/ |
| 調査履歴 | $XDG_DATA_HOME | ~/.local/share/orm-mcp-go/research_history.json |
| 将来の設定ファイル | $XDG_CONFIG_HOME | ~/.config/orm-mcp-go/ |
デバッグ用: ORM_MCP_GO_DEBUG_DIRを設定すると、全てのパスがその値で上書きされます。
詳細はAPI_REFERENCE.mdを参照してください。
Related Servers
Weather MCP
A weather server providing weather information for locations within the United States.
Local Flow
A minimal, local, GPU-accelerated RAG server for document ingestion and querying.
Semantic Search Of Reddit
MCP server that enables AI assistants to search Reddit conversations, explore subreddits, and access trending topics.
Travel Planner
A server for travel planning and interacting with Google Maps services.
Unified Docs Hub
Creates a massive, searchable knowledge base from numerous curated and auto-discovered GitHub projects.
Mastra Docs Server
Provides AI assistants with direct access to Mastra.ai's complete knowledge base.
Search1API
One API for Search, Crawling, and Sitemaps
Docs MCP
A server for efficiently searching and referencing user-configured local documents.
Perplexica Search
Perform conversational searches with the Perplexica AI-powered answer engine.
QuantConnect Docs
An MCP server for intelligent search and retrieval of QuantConnect PDF documentation.