Integrate your Readwise highlights and reading history directly into the Gemini CLI. This extension leverages the Model Context Protocol (MCP) and a specialized AI Librarian to help you search, synthesize, and discover insights from your personal knowledge base.
- Semantic Search: Go beyond keywords with vector-based search to find conceptually related ideas.
- Expert Librarian Skill: A specialized agent persona (
expert-librarian) trained to act as your reference librarian, connecting dots across your reading history. - Advanced Filtering: Quickly pinpoint highlights by author, book title, or specific tags.
- Seamless Integration: Native slash commands that work anywhere in your Gemini CLI session.
- Gemini CLI installed.
- A Readwise account with an active Access Token.
Set your Readwise access token as an environment variable in your shell configuration (e.g., .bashrc, .zshrc, or .envrc):
export READWISE_TOKEN="your_token_here"Install the extension directly via the Gemini CLI:
gemini extensions install https://github.com/thoreinstein/readwiseAlternatively, for local development:
git clone https://github.com/thoreinstein/readwise.git
cd readwise
gemini extensions link .Activate the skill to enter a high-context mode for knowledge management. The Librarian understands how to use semantic search to synthesize information across your entire library.
/skill expert-librarianExample Queries:
- "Summarize my recent reading on software architecture."
- "What are the common themes between my highlights on habit formation and productivity?"
- "Find the specific highlight where I read about 'second brains'."
Quickly access your data with these built-in commands:
| Command | Description |
|---|---|
/readwise:books |
List your 10 most recent books and articles. |
/readwise:search <query> |
Perform a semantic search for a specific term or concept. |
/readwise:insights <query> |
Search for conceptually "near" ideas to surface new connections. |
/readwise:author <name> |
Search highlights from a specific author. |
/readwise:book <title> |
Search highlights within a specific book or article. |
/readwise:tag <tag> |
Filter highlights by a specific tag. |
/readwise:daily |
Surface a random set of highlights for inspiration and review. |
This extension wraps the @readwise/readwise-mcp server.
ISC License. See LICENSE (if provided) or package.json for details.