# PDF bookmarks and clickable contents for AI agents

Add nested bookmarks and a printable, clickable table of contents to a textbook, manual, or report. Your agent can read a scanned TOC as an image, while PDFBookmarks maps and checks the links locally.

## Install the local tools

- [Agent Skill](https://github.com/Yuikij/pdfbookmarks-ai/tree/main/skills/pdf-bookmarks): `npx skills add Yuikij/pdfbookmarks-ai --skill pdf-bookmarks`
- [Local MCP](https://github.com/Yuikij/pdfbookmarks-ai): Use Node.js 22.13+ with an MCP client that supports local stdio. Point --root at the folder with your PDFs. The release also has a desktop bundle and a Python wheel.
- Local MCP command: `npx --yes https://github.com/Yuikij/pdfbookmarks-ai/releases/download/v0.1.1/pdfbookmarks-mcp-0.1.1.tgz serve --root "/path/to/pdfs"`
- [Desktop and Python downloads](https://github.com/Yuikij/pdfbookmarks-ai/releases/latest)

## Try an image-only table of contents

This sample starts with a scan. Printed page 1 is physical page 3 in the source, and page 4 after inserting a front TOC. The result contains six nested bookmarks and six verified links.

The MCP processes PDFs on your device and always writes to a new file. The selected text or images it returns can enter your agent’s model context. Use a local model if that content must stay on your device.
