The Model Context Protocol (MCP) standardizes how applications provide context to Large Language Models (LLMs), ensuring a clean separation between context management and direct LLM interaction.
This project is a local MCP server designed to act as a bridge between LLM clients (such as Claude) and Readwise.
- Open Claude desktop app.
- Navigate to Settings > Developer.
- Click
Edit Config
. - Add the following entry to the
claude_desktop_config.json
file, replacingACCESS_TOKEN
value with your Readwise Access Token.
{
"mcpServers": {
"Readwise MCP": {
"command": "npx",
"args": [
"-y",
"@readwiseio/readwise-mcp"
],
"env": {
"ACCESS_TOKEN": "XXXXXXXXX"
}
}
}
}
- Install Git hooks:
uvx pre-commit install
. - Run
npm run dev
. - Use the following Claude config:
{
"mcpServers": {
"Readwise MCP": {
"command": "node",
"args": [
"/path/to/your/readwise-mcp/build/index.js"
],
"env": {
"BASE_URL": "https://local.readwise.io:8000",
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
"ACCESS_TOKEN": "XXXXXXXXX"
}
}
}
}
- Remember to restart Claude after each modification to the code.