get_table_of_contents
Get the outline/bookmarks with page numbers for each section
How to use it
get_table_of_contents is exposed by the Pdf MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_table_of_contents tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL PDF MCP LISTINGOther tools in Pdf MCP (4)
Render a single page as a PNG image, returned as base64 or written to a temp file. Configurable DPI (default 150)
Extract text from a page range in json (default), text, markdown, or html format. Optionally exclude headers/footers
Get metadata about a PDF (page count, author, title, etc.)
Case-insensitive text search across the entire PDF, returning page numbers and surrounding context