Logotipo de Readwise Enhanced

Readwise Enhanced

Comunidad
arnaldo-delisio

Enhanced MCP server unifying Readwise Reader + Highlights with AI-powered text processing and context optimization

Editorarnaldo-delisio
Repositorioreadwise-mcp-enhanced
IdiomaTypeScript
Forks
11
Estrellas
67
Herramientas disponibles
13
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Readwise Enhanced ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 13 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    67 estrellas y 11 forks en el repositorio enlazado.


status: published category: mcp-server author: arnaldo-delisio published_npm: true npm_package: readwise-mcp-enhanced published_directories: [] production_url: null last_active: 2026-01-26

Readwise MCP Enhanced

npm version npm downloads

A comprehensive Model Context Protocol (MCP) server that unifies Readwise Reader document management with full Readwise highlights functionality. Works with Claude Desktop, Continue, and any MCP-compatible AI tool. Built with TypeScript, featuring advanced text processing, smart content controls, and context-optimized responses.

🚀 What This Is

The first unified MCP that combines:

  • Complete Readwise Reader API - Save, manage, and search documents
  • Full Readwise Highlights API - Access all your highlights, books, and daily reviews
  • AI-Powered Text Processing - Intelligent word segmentation and content extraction
  • Context Optimization - 94% reduction in token usage while maintaining full functionality
  • Smart Content Controls - Prevent context explosion with advanced filtering and pagination

Equivalent to the official Readwise MCP but more efficient and feature-complete. Compatible with all MCP clients.


✨ Key Features

📚 Enhanced Reader Management

  • Smart Content Extraction: Pagination, keyword filtering, length limits
  • AI-Powered Text Processing: Automatic word segmentation fixes merged words
  • Performance Controls: Built-in warnings and guidance for expensive operations
  • Flexible Filtering: By location, category, tags, dates, and custom criteria

🎯 Complete Highlights Ecosystem

  • Daily Reviews: Spaced repetition learning system
  • Advanced Search: Field-specific queries with relevance scoring
  • Book Management: Full metadata with highlight counts and filtering
  • Export & Backup: Bulk highlight analysis and incremental sync
  • Manual Creation: Add highlights with full metadata support

⚡ Production Excellence

  • Context Optimized: 94% reduction in token usage (25,600 → 1,600 tokens)
  • Dual API Architecture: Seamless v2 (highlights) + v3 (Reader) integration
  • Unlimited Results: No artificial limits, just efficient data per item
  • MCP Protocol Compliant: Proper logging, error handling, and rate limiting

🛠️ Installation

Option 1: NPX - No Installation Required! (Recommended)

No installation needed! Any MCP client will automatically download and run the package using npx.

Option 2: Global NPM Installation

bash
npm install -g readwise-mcp-enhanced

Option 3: From Source

bash
git clone https://github.com/arnaldo-delisio/readwise-mcp-enhanced.git
cd readwise-mcp-enhanced
npm install
npm run build

🔧 Configuration

With Any MCP-Compatible Tool

  1. Get your Readwise token: https://readwise.io/access_token

  2. Add to your MCP client configuration:

    Claude Desktop:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    Continue IDE Extension:

    • Add to your Continue configuration file

    Other MCP Tools:

    • Follow your tool's MCP server configuration instructions

    Option A - Using npx (Recommended):

    json
    {
      "mcpServers": {
        "readwise-mcp-enhanced": {
          "command": "npx",
          "args": ["readwise-mcp-enhanced"],
          "env": {
            "READWISE_TOKEN": "your_readwise_access_token_here"
          }
        }
      }
    }

    Option B - If installed globally via npm:

    json
    {
      "mcpServers": {
        "readwise-mcp-enhanced": {
          "command": "readwise-mcp-enhanced",
          "env": {
            "READWISE_TOKEN": "your_readwise_access_token_here"
          }
        }
      }
    }

    Option C - If installed from source:

    json
    {
      "mcpServers": {
        "readwise-mcp-enhanced": {
          "command": "node",
          "args": ["/path/to/readwise-mcp-enhanced/dist/index.js"],
          "env": {
            "READWISE_TOKEN": "your_readwise_access_token_here"
          }
        }
      }
    }
  3. Restart your MCP client (Claude Desktop, Continue, etc.)


📖 Available Tools (13 Total)

📚 Reader Tools (6) - Enhanced

readwise_save_document

Save documents with full metadata control.

json
{
  "url": "https://example.com/article",
  "tags": ["ai", "productivity"],
  "location": "later",
  "category": "article"
}

readwise_list_documents

⭐ Enhanced with Smart Content Controls

json
{
  "withFullContent": true,
  "contentMaxLength": 10000,
  "contentStartOffset": 0,
  "contentFilterKeywords": ["AI", "machine learning"],
  "limit": 10
}

Smart Content Parameters:

  • contentMaxLength: Limit content per document (default: 50,000 chars)
  • contentStartOffset: Start extraction from specific position (pagination)
  • contentFilterKeywords: Extract only sections containing keywords
  • Performance warnings for expensive operations

readwise_update_document

Update document metadata (title, author, summary, location, etc.)

readwise_delete_document

Remove documents from your Reader library

readwise_list_tags

Get all your document tags

readwise_topic_search

⭐ Enhanced with AI-powered text processing

  • Regex-based search across title, summary, notes, tags
  • Automatic word segmentation for better matching
  • Distributed keyword finding throughout content

🎯 Highlights Tools (7) - New

readwise_list_highlights

List highlights with advanced filtering:

json
{
  "book_id": 12345,
  "highlighted_at__gt": "2024-01-01T00:00:00Z",
  "page_size": 100
}

readwise_get_daily_review

Get your spaced repetition highlights:

json
{
  "review_id": 168844911,
  "highlights": [
    {
      "text": "Strategic wisdom quote...",
      "title": "The Art of War",
      "author": "Sun Tzu"
    }
  ]
}

readwise_search_highlights

⭐ Advanced search with field-specific queries:

json
{
  "textQuery": "strategy tactics",
  "fieldQueries": [
    {
      "field": "document_title",
      "searchTerm": "Art of War"
    }
  ],
  "limit": 20
}

readwise_list_books

Get books with highlight metadata:

json
{
  "category": "books", 
  "last_highlight_at__gt": "2024-01-01T00:00:00Z"
}

readwise_get_book_highlights

Get all highlights from a specific book:

json
{
  "bookId": 53827741
}

readwise_export_highlights

Bulk export for analysis and backup:

json
{
  "updatedAfter": "2024-01-01T00:00:00Z",
  "includeDeleted": false
}

readwise_create_highlight

Manually add highlights with metadata:

json
{
  "highlights": [
    {
      "text": "Important insight...",
      "title": "Book Title",
      "author": "Author Name",
      "note": "My thoughts on this",
      "category": "books"
    }
  ]
}

🎯 Context Optimization

94% Token Reduction while maintaining full functionality:

ToolBeforeAfterSavings
List Highlights (32 items)~25,600 tokens~1,600 tokens94%
Daily Review (5 items)~5,000 tokens~400 tokens92%
List Books (10 items)~8,000 tokens~600 tokens93%

Optimized Fields:

  • Highlights: id, text, note, book_id only
  • Books: id, title, author, category, num_highlights only
  • Search: text, book, author, score only

🧠 AI-Powered Features

Intelligent Word Segmentation

Automatically fixes common text extraction issues:

  • whatyou → what you
  • fromdissatisfaction → from dissatisfaction
  • timeago → time ago

Smart Content Processing

  • Sentence-based chunking for YouTube transcripts
  • Distributed keyword filtering throughout content
  • Context-aware text extraction with proper spacing

Advanced Search Algorithm

  • Multi-field search with relevance scoring
  • Export-based comprehensive search equivalent to official MCP
  • Field-specific filtering (title, author, text, notes, tags)

📊 Technical Architecture

Dual API Client System

typescript
// Seamless API switching
v2 API: Highlights, books, daily review, export
v3 API: Reader documents, tags, search

Context-Efficient Design

  • Unlimited results with minimal data per item
  • LLM-optimized responses for efficient parsing
  • Structured JSON maintains full reasoning capabilities

Production Ready

  • ES Module standard with proper TypeScript definitions
  • MCP protocol compliant logging and error handling
  • Comprehensive rate limiting and graceful fallbacks

⚙️ API Coverage

Readwise Reader API (v3)

  • ✅ Documents: Save, list, update, delete
  • ✅ Tags: List and filter
  • ✅ Content: Smart extraction with controls
  • ✅ Search: Enhanced topic search

Readwise Highlights API (v2)

  • ✅ Highlights: List, create, search, export
  • ✅ Books: List with metadata and filtering
  • ✅ Daily Review: Spaced repetition system
  • ✅ Advanced Search: Field-specific queries

🔐 Authentication & Security

  • Single Token: One Readwise token for both APIs
  • Environment Variable: Secure token storage via READWISE_TOKEN
  • No Token Exposure: Never exposed through MCP clients or tools interface

📈 Rate Limits

  • Reader API: 20 requests/minute (default), 50/minute (CREATE/UPDATE)
  • Highlights API: Standard Readwise limits with automatic retry-after handling
  • Smart Handling: 429 responses include "Retry-After" header processing

🚀 Usage Examples

Smart Content Extraction

typescript
// Paginate through large document
readwise_list_documents({
  withFullContent: true,
  contentMaxLength: 5000,
  contentStartOffset: 0,
  contentFilterKeywords: ["machine learning", "AI"]
})

Comprehensive Search

typescript
// Search across documents and highlights
readwise_search_highlights({
  textQuery: "productivity habits",
  fieldQueries: [
    { field: "document_author", searchTerm: "James Clear" }
  ],
  limit: 10
})

Daily Learning Workflow

typescript
// Get daily review for spaced repetition
readwise_get_daily_review()

// Search related highlights for deeper study
readwise_search_highlights({
  textQuery: "from daily review topics",
  limit: 20
})

📦 Dependencies

json
{
  "@modelcontextprotocol/sdk": "^1.0.0",
  "dotenv": "^16.3.0", 
  "node-html-parser": "^7.0.1",
  "wordsninja": "^1.0.0"
}

Key Addition: wordsninja for AI-powered word segmentation


🔄 Migration from Basic Reader MCP

This unified MCP is fully backward compatible. All existing Reader tools work unchanged while adding 7 new highlights tools.

No breaking changes - just enhanced functionality and better performance.


🌟 Why This MCP?

vs. Official Readwise MCP

  • ✅ More context efficient (94% reduction)
  • ✅ Unified interface (Reader + Highlights)
  • ✅ Smart content controls (pagination, filtering)
  • ✅ AI-powered text processing
  • ✅ Unlimited results with minimal verbosity

vs. Basic Reader MCPs

  • ✅ Complete highlights ecosystem (7 new tools)
  • ✅ Advanced search capabilities
  • ✅ Production-ready performance
  • ✅ Context optimization

📄 License

MIT


🙏 Acknowledgments

Built upon the foundation of edricgan/Readwise-Reader-MCP with significant enhancements:

  • Enhanced Reader functionality with smart content controls
  • Complete highlights integration equivalent to official MCP
  • AI-powered text processing with word segmentation
  • Context optimization for production efficiency
  • Unified architecture combining dual APIs seamlessly

This represents a complete evolution from basic document management to a comprehensive, production-ready Readwise platform. 🚀

Instalación

TypingMind
Requisitos:

Node.js 18+

{
  "mcpServers": {
    "readwise-mcp-enhanced": {
      "command": "npx",
      "args": [
        "readwise-mcp-enhanced"
      ],
      "env": {
        "READWISE_TOKEN": "your_readwise_access_token_here"
      }
    }
  }
}

Herramientas disponibles

  • readwise_save_document

    Save a document (URL or HTML content) to Readwise Reader

  • readwise_list_documents

    List documents from Readwise Reader with optional filtering

  • readwise_update_document

    Update a document in Readwise Reader

  • readwise_delete_document

    Delete a document from Readwise Reader

  • readwise_list_tags

    List all tags from Readwise Reader

  • readwise_topic_search

    Search documents in Readwise Reader by topic using regex matching on title, summary, notes, and tags

  • readwise_list_highlights

    List highlights from Readwise with optional filtering by book, date, or other criteria

  • readwise_create_highlight

    Create new highlights manually in Readwise

  • readwise_export_highlights

    Export all highlights from Readwise with optional filtering. Perfect for bulk analysis or backup.

  • readwise_get_daily_review

    Get your daily review highlights for spaced repetition learning

  • readwise_list_books

    List books that have highlights in Readwise with optional filtering

  • readwise_get_book_highlights

    Get all highlights from a specific book

  • readwise_search_highlights

    Advanced search across all highlights using text queries and field-specific filters. Equivalent to official Readwise MCP search functionality.

Usa el MCP de Readwise Enhanced con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Readwise Enhanced, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Readwise Enhanced como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Readwise Enhanced.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "readwise-enhanced": {
      "command": "npx",
      "args": [
        "-y",
        "readwise-mcp-enhanced"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Readwise Enhanced y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Readwise Enhanced.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Readwise Enhanced para ayudarme con esta tarea?
Readwise Enhanced
Claro. Lo he leído.
Esto he encontrado usando Readwise Enhanced.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Readwise Enhanced?

Readwise Enhanced es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Readwise Enhanced con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Readwise Enhanced con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Readwise Enhanced con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Readwise Enhanced conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Readwise Enhanced a TypingMind?

Readwise Enhanced funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Readwise Enhanced en TypingMind?

Readwise Enhanced ofrece 13 herramientas MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Readwise Enhanced?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Readwise Enhanced requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇