
edricgsh/readwise-reader-mcp
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
TypeScript と公式 Claude SDK で構築された Readwise Reader API 用のモデルコンテキストプロトコル (MCP) サーバー.
概要
TypeScript と公式 Claude SDK で構築された Readwise Reader API 用のモデルコンテキストプロトコル (MCP) サーバー。 - : トークンストレージの環境変数を使用する - : 完全なメタデータを使用して文書を保存、リスト、更新、および削除 - : タグによるリストとフィルタ - : 位置、カテゴリ、タグ、および多くによるフィルタ文書 - : 大規模なドキュメントコレクションを扱う - : r.jina.aiを使用してきれいなテキストに自動的に変換されたHTMLコンテンツ - : コンテンツ、メタデータ、およびタイムスタンプを含む完全な文書情報を返す Readwise Reader API エンドポイント、パラメーター、および例の詳細については、公式 API ドキュメントを参照してください。 このMCPサーバーは、公式のドキュメントに記載されているすべてのコアエンドポイントを実装しています。 2. 読みやすいアクセストークンを取得する: https://readwise.io/access_token 3。 Claudeデスクトップ設定にサーバーを追加します.
概要(AI 翻訳)
TypeScript と公式 Claude SDK で構築された Readwise Reader API 用のモデルコンテキストプロトコル (MCP) サーバー。
##特徴
- セキュア認証: トークンストレージの環境変数を使用する
- 文書管理: 完全なメタデータで文書を保存、リスト、更新、削除
- タグ管理:タグによるリストとフィルタ -リッチフィルタリング: 位置、カテゴリ、タグなどのフィルタ ドキュメント -Pagination Support:大きなドキュメントコレクションを扱う -LLMフレンドリーコンテンツ:HTMLコンテンツが自動的にr.jina.aiを使用してきれいなテキストに変換
- 完全なデータアクセス:コンテンツ、メタデータ、およびタイムスタンプを含む完全な文書情報を返す
API ドキュメント
Readwise Reader API エンドポイント、パラメーター、および例の詳細については、公式 API ドキュメントを参照してください。
** 447 Readwise Reader API ドキュメント**
このMCPサーバーは、公式のドキュメントに記載されているすべてのコアエンドポイントを実装しています。
インストール
設定
##Claudeデスクトップ付き
-
MCP サーバーの構築:
-
読みやすいアクセストークンを取得する: https://readwise.io/access_token
3。 Claudeデスクトップ設定にサーバーを追加します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Readwise Reader MCP Server
A Model Context Protocol (MCP) server for the Readwise Reader API, built with TypeScript and the official Claude SDK.
Features
- Secure Authentication: Uses environment variables for token storage
- Document Management: Save, list, update, and delete documents with complete metadata
- Tag Management: List and filter by tags
- Rich Filtering: Filter documents by location, category, tags, and more
- Pagination Support: Handle large document collections
- LLM-Friendly Content: HTML content automatically converted to clean text using r.jina.ai
- Complete Data Access: Returns full document information including content, metadata, and timestamps
API Documentation
For detailed information about the Readwise Reader API endpoints, parameters, and examples, please refer to the official API documentation:
📖 Readwise Reader API Documentation
This MCP server implements all the core endpoints described in the official documentation.
Installation
npm install
npm run build
Configuration
With Claude Desktop
-
Build the MCP server:
npm install npm run build -
Get your Readwise access token from: https://readwise.io/access_token
-
Add the server to your Claude Desktop configuration. Open your Claude Desktop settings and add this to your MCP servers configuration:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%\Claude\claude_desktop_config.json{ "mcpServers": { "readwise-reader": { "command": "node", "args": ["/path/to/your/reader_readwise_mcp/dist/index.js"], "env": { "READWISE_TOKEN": "your_readwise_access_token_here" } } } }Replace:
/path/to/your/reader_readwise_mcpwith the actual path to this project directoryyour_readwise_access_token_herewith your actual Readwise access token
-
Restart Claude Desktop
Available Tools
readwise_save_document
Save a document (URL or HTML content) to Readwise Reader.
Parameters:
url(required): URL of the document to savehtml(optional): HTML content of the documenttags(optional): Array of tags to addlocation(optional): Location to save (new,later,shortlist,archive,feed)category(optional): Document category (article,book,tweet,pdf,email,youtube,podcast)
readwise_list_documents
List documents from Readwise Reader with optional filtering. Returns complete document information including metadata and LLM-friendly text content.
Parameters:
id(optional): Filter by specific document IDupdatedAfter(optional): Filter documents updated after this date (ISO 8601)location(optional): Filter by document locationcategory(optional): Filter by document category
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"readwise-reader": {
"command": "node",
"args": ["/path/to/your/reader_readwise_mcp/dist/index.js"],
"env": {
"READWISE_TOKEN": "your_readwise_access_token_here"
}
}
}
}