ER

edricgsh/readwise-reader-mcp

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

47 stars 8 forks 品質 66 トレンド 13MIT

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デスクトップ付き

  1. MCP サーバーの構築:

  2. 読みやすいアクセストークンを取得する: 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

  1. Build the MCP server:

    npm install
    npm run build
    
  2. Get your Readwise access token from: https://readwise.io/access_token

  3. 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.json Windows: %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_mcp with the actual path to this project directory
    • your_readwise_access_token_here with your actual Readwise access token
  4. 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 save
  • html (optional): HTML content of the document
  • tags (optional): Array of tags to add
  • location (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 ID
  • updatedAfter (optional): Filter documents updated after this date (ISO 8601)
  • location (optional): Filter by document location
  • category (optional): Filter by document category
GitHub で README 全文を見る

インストール

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" } } } }