The Reader MCP Server enables MCP-compatible clients like Claude and VS Code to interact with your Readwise Reader library. It acts as a bridge between these clients and your personal knowledge repository, allowing for document listing, retrieval, and updates.
To use the Reader MCP Server, you'll need to set up the server with your Readwise Reader API credentials.
.env
file in the project directoryTo use this server with Claude Desktop, VS Code, or any MCP-compatible client, add the following configuration to your client settings:
{
"mcpServers": {
"reader": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/your/reader/server",
"run",
"main.py"
],
"env": {
"ACCESS_TOKEN": "your_readwise_access_token"
}
}
}
}
Make sure to:
/absolute/path/to/your/reader/server
with the actual path to the project directoryyour_readwise_access_token
with your actual Readwise Reader API access tokenOnce configured, the Reader MCP Server provides the following functionality:
The server provides a list_documents
tool that allows you to retrieve documents from your Readwise Reader library.
location
(optional): Filter by folder. Options include:
new
later
shortlist
archive
feed
updatedAfter
(optional): Only return documents updated after this ISO8601 timestampwithContent
(optional): If true, include HTML content in results (default: false)pageCursor
(optional): Pagination cursor for fetching the next pageWhen used with an MCP client, you can request documents like this:
List my recent articles from Readwise Reader
Or with more specific parameters:
Show me documents from my shortlist folder in Readwise Reader
The server will return a JSON object containing a list of documents with their metadata and optionally their content, along with pagination information.
For more information, visit the Readwise Reader API documentation and MCP documentation.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.