/pdf-metadata:pdf-metadatafrom pdf-metadata
Reads, edits, clears, renames, and bulk exports/imports PDF metadata (title, author, subject, keywords, XMP) via a local MCP server. Use for inspecting document properties, stripping author info before sharing, batch updates, renaming files from metadata, or metadata import/export to JSON/YAML/CSV.
Ships in pdf-metadata. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the pdf-metadata-editor MCP server, whose tools are named pdf_*, to inspect and change PDF document properties. The server runs locally and only touches files inside its configured root (the client's working directory unless --mcp-root is set).
Check your tool list for pdf_list_fields and pdf_read_metadata.
If they are missing, stop and help the user enable the server. Do not pretend to read or edit PDFs without these tools.
pdf-metadata plugin, or add the stdio server manually.npx -y pdf-metadata-editor-mcp.pmedit-cli --mcp.Ready-to-paste configurations for Claude Code, Claude Desktop, OpenCode, Cursor, Windsurf, Cline, VS Code, and Codex are in references/setup.md.
pdf_list_fields. Never invent field IDs: they are case-sensitive and use <struct>.<field> form, such as doc.title, dc.creators, or prop.ownerPassword.pdf_read_metadata on the exact files or directory. Use fields when you only need specific properties.outputDir.pdf_clear_metadata, pdf_rename, or an import that overwrites existing files.paths array containing files and/or directories.summary plus every results entry that failed.paths is always an array. A single file is paths: ["report.pdf"]; a directory is walked recursively for .pdf files.outputDir for set, clear, rename, and imports when the user wants to keep originals. Without it, set and clear write in place and rename moves files within their source directory.pdf_set_metadata and pdf_import_from_filename can use {field.id} templates, expanded from each file's own metadata, for example {doc.author} - {doc.title}.ownerPassword. Without it, that file fails with password_required; a wrong password reports invalid_password.summary.truncated is true, narrow the paths and continue instead of assuming everything was processed.pdf_list_fields, pdf_read_metadata, and pdf_license are free. Mutating and export tools may require a Pro license and return a clear error when one is needed.pdf_clear_metadata as irreversible. Offer outputDir or a backup first.pdf_rename fails rather than overwriting an existing destination. Report collisions; do not retry in a loop.prop.ownerPassword). Never echo import file contents or credentials back to the user.pdf_license with action: "status". For activation, ask the user for the email address and license ID from their purchase email, pass them unchanged as one comma-separated string, and never repeat the license.| Need | Tool |
|---|---|
| List valid field IDs and types | pdf_list_fields |
| Read metadata | pdf_read_metadata |
| Set or update fields | pdf_set_metadata |
| Clear all or selected fields | pdf_clear_metadata |
| Rename files from metadata | pdf_rename |
| Export to JSON, YAML, or CSV | pdf_export_json, pdf_export_yaml, pdf_export_csv |
| Import from JSON, YAML, or CSV | pdf_import_from_json, pdf_import_from_yaml, pdf_import_from_csv |
| Derive metadata from file names | pdf_import_from_filename |
| Check, activate, or release a license | pdf_license |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pdf-metadata, pdf-editing, batch-processing, document-properties, xmp
npx claudepluginhub zaro/pdf-metadata-editor --plugin pdf-metadataOther plugins' skills for the same job