kindle-notes
Reads Kindle highlights, notes, and bookmarks from the user's Amazon account (read.amazon.com) into a local database, and exposes tools to search highlights, list books, retrieve a book's notes in reading order, get recent notes, and fetch a random highlight.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kindle-noteswhat did I highlight about habits?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kindle Notes
Kindle Notes copies your Kindle highlights, notes, and bookmarks from your Amazon account to a database on your computer. You can then read the data in a local web page. Claude and other AI assistants can also search the data through an MCP server.
You do not connect the Kindle device with a USB cable. The data comes from
read.amazon.com.The tool does not see or keep your Amazon password. You log in to Amazon in a Chrome window. The tool then uses that session again.
All the data stays on your computer, in the
~/.kindle-notes/folder.
Kindle Notes is not an Amazon product. Amazon did not examine or accept this tool. Refer to Disclaimer.
Requirements
macOS or Linux
Node.js 22 or higher
pnpm. To install pnpm, run
npm install -g pnpm.Git
Google Chrome
An account on amazon.com
Related MCP server: Calibre MCP Server
Procedure: Install
Clone the repository:
git clone https://github.com/0xpili/kindle-notes.git cd kindle-notesInstall the dependencies:
pnpm installBuild the tool:
pnpm buildAdd the
kindle-notescommand to your computer:npm linkMake sure that the command works:
kindle-notes help
If you do not do step 4, use node dist/cli.js in place of kindle-notes in all commands.
Run these commands in the kindle-notes folder.
If Google Chrome is not on your computer, install the Chromium browser for Playwright:
npx playwright install chromiumProcedure: Get a new version
Go to the
kindle-notesfolder.Run these commands:
git pull pnpm install pnpm build
You do not have to do npm link again.
Your data in ~/.kindle-notes/ does not change.
Procedure: Remove the tool
In the
kindle-notesfolder, runnpm unlink -g kindle-notes.Delete the
kindle-notesfolder.To delete your data and your Amazon session, delete the
~/.kindle-notes/folder.
Procedure: Get your notes
Run
kindle-notes login. A Chrome window opens.Log in to Amazon in the Chrome window. When the Kindle notebook page shows, the window closes.
Run
kindle-notes sync. The tool copies all your data. The sync uses approximately 3 to 4 seconds for each book.Run
kindle-notes ui.Open http://127.0.0.1:4477 in your web browser.
To get new notes from Amazon, run kindle-notes sync again.
You can do the sync many times. The sync adds new items and changes the items that changed on Amazon.
The sync does not make duplicate items.
Amazon asks for your password again when your last login is more than 1 hour old. If you run the sync in a terminal, the sync opens Chrome. Type your password in the Chrome window. The sync then continues.
If the sync runs without a terminal, the sync stops with exit code 2.
A scheduled job is an example of a sync without a terminal.
Run kindle-notes login or kindle-notes sync in a terminal, then the next scheduled sync will work for 1 hour.
Commands
Command | Function |
| Opens Chrome. You log in to Amazon. |
| Copies all highlights, notes, and bookmarks to the database. |
| Copies only highlights and notes. This option is faster. It does not get bookmarks or dates. |
| Copies the data of one book. |
| Does not open Chrome if Amazon asks for your password. The sync stops with exit code 2. |
| Starts the web page at http://127.0.0.1:4477. |
| Starts the MCP server (stdio). |
| Shows the quantity of items and the result of the last sync. |
The web page
The web page has these parts:
A list of books, with covers. Use the filter box to find a book.
The highlights of the book that you select, in the sequence of the book.
Buttons to show all items, only highlights, only notes, or only bookmarks.
A search box. Press
/to go to the search box.A "Random" button. This button shows one highlight that the tool selects at random.
A "Copy" button on each item.
The web page has a light mode and a dark mode.
Procedure: Connect the MCP server to Claude
Install Kindle Notes. Refer to Install.
Do the procedure in Get your notes.
Run this command:
claude mcp add kindle-notes -- kindle-notes mcpStart a new Claude Code session.
If you did not do npm link, use the full path to dist/cli.js:
claude mcp add kindle-notes -- node /full/path/to/kindle-notes/dist/cli.js mcpFor other MCP clients, use this configuration:
{
"mcpServers": {
"kindle-notes": { "command": "kindle-notes", "args": ["mcp"] }
}
}The MCP server has these tools. The tools only read the local database. The tools do not connect to Amazon.
Tool | Function |
| Finds words in highlights, notes, and bookmarks. |
| Shows all books and the quantity of items in each book. |
| Shows all items of one book, in the sequence of the book. |
| Shows the newest items. |
| Shows one highlight that the tool selects at random. |
| Shows the time of the last sync. |
Examples of text that you can write to Claude:
"What did I highlight about habits?"
"Make a summary of my notes on the book Deep Work."
"Show my bookmarks in my last book."
How the tool gets the data
Data | Source |
Highlights (full text, color, page, location) and notes | The Kindle notebook pages on |
Bookmarks, dates, and highlights that the export limit hides | The Kindle web reader. The tool opens each book in a hidden browser window. |
For more data, refer to docs/DESIGN.md and docs/REQUIREMENTS.md.
Limits
Export limit: The publisher of a book sets a limit on the text that Amazon exports. For a highlight after this limit, Amazon gives only part of the text. The tool keeps this part and shows the label "partial".
Books with only bookmarks: Amazon does not show these books in the notebook. The tool cannot find them.
Personal documents: Amazon usually does not show documents from "Send to Kindle" in the notebook.
Amazon regions: At this time, you can use the tool only with amazon.com accounts.
Changes to Amazon pages: The tool uses Amazon pages that Amazon does not document. If Amazon changes these pages, the sync stops with the message "Amazon page format changed". The sync does not save incorrect data. To repair the tool, change
src/amazon/parse.ts.
CAUTION: The sync opens each book in the Kindle web reader to get the bookmarks.
Amazon then shows the date of the sync as the "last annotated" date of each book.
The tool does not turn pages. But we did not do a test of this on a Kindle device.
To prevent this change, use kindle-notes sync --no-bookmarks.
Development
pnpm install
pnpm test # Tests that use sample pages. The tests do not connect to Amazon.
pnpm typecheck
pnpm buildRefer to CONTRIBUTING.md. For security, refer to SECURITY.md and docs/MAINTAINING.md.
Disclaimer
Kindle Notes is not an Amazon product. Amazon did not examine or accept this tool. "Kindle" and "Amazon" are trademarks of Amazon.com, Inc. or its affiliates.
The tool reads your data from your Amazon account, with your session. Make sure that your use of the tool obeys the Amazon Conditions of Use. You use the tool at your own risk.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
- HighlytOAuthapp.highlyt
Highlight anything you read. Then ask your AI about it: search, read and edit your highlights.
Search your Glasp web and Kindle highlights, notes, and AI memories from any MCP client. Read-only.
- GleanitOAuthco.gleanit
Search, read, and write highlights, notes, screenshots, collections, projects, and tags in Gleanit.
Highlight anything you read. Then ask your AI about it. Highlyt puts your PDFs, EPUBs, web articles and supported Kindle highlights in one library. Students ask Claude or ChatGPT what they highlighted across their papers; researchers turn colour-coded highlights into a Markdown brief with BibTeX/RIS/CSL-JSON references; readers turn book highlights into notes. Your AI can search, read, create and link highlights. 7-day free trial (3 documents), no card needed, then Pro $4.99/mo or $39/yr.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables access and interaction with your Readwise library, allowing you to retrieve and search highlights, books, and documents through natural language queries when using Claude or other MCP-compatible assistants.2 npm24MIT
- AlicenseNot gradedqualityCmaintenanceProvides AI agents with research capabilities for local Calibre e-book libraries, including fulltext search across titles, ISBNs, and comments, plus structured excerpt retrieval from books.2GPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to read and write local Apple Books library, collections, and annotations. Supports searching, exporting, and modifying books and highlights via MCP tools.1MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to interact with BookLore self-hosted libraries, allowing natural language queries to search books, manage reading status, ratings, series, authors, and highlights.71-