# PDF Metadata Editor

> Read and edit PDF metadata through MCP.

- **URL**: https://followmcp.com/en/servers/npm
- **Category**: Other
- **Origin**: Community
- **Stars**: 231
- **FMRS Score**: 59/100 (Grade C)
- **Source**: https://github.com/zaro/pdf-metadata-editor/tree/master/npm
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 18+
- **Auth**: No credential needed

## Overview
PDF Metadata Editor MCP provides PDF metadata reading and editing over stdio. It supports batch reading, setting, clearing, renaming, importing, and exporting metadata; directories are processed recursively subject to a default batch limit and walk timeout. Some batch operations may require a license.

## Best for
- Users who need to process PDF metadata in batches through MCP.
- Users who want to limit file scope or disable writes with read-only mode.

## Not for
- Users who need to edit PDF content beyond metadata; the listed tools focus on metadata and file renaming.
- Users running the server on an unsupported platform without Java 17 or newer.

## Required permissions
- The server needs access to PDFs and related import files in its working directory; --mcp-root can restrict access to a specified directory.
- Set, clear, rename, import, and export operations may write files; --mcp-read-only disables all mutating tools.
- License activation passes the purchase email address and license ID to the license provider as one comma-separated string.
- Import records may contain passwords and should be treated as sensitive.

## Risks
- The default file scope is the process working directory; batch edits may update files in place unless an output directory is specified.
- Directory operations expand recursively; the default batch limit is 100 files or operations and the default walk timeout is 20 seconds.
- Incorrect metadata values or rename templates can produce unintended results; batches report success or failure per file.
- License activation details and passwords in import files are sensitive.

## Client config (JSON)
```json
{"mcpServers":{"pdf-metadata-editor":{"command":"npx","args":["-y","pdf-metadata-editor-mcp"]}}}
```

## Tools (13)
- `pdf_list_fields`: List valid metadata field IDs, types, and writability.
- `pdf_read_metadata`: Read metadata from one or more PDFs or directories.
- `pdf_set_metadata`: Set metadata fields on every input PDF.
- `pdf_clear_metadata`: Clear metadata fields on every input PDF.
- `pdf_rename`: Rename each input PDF using a metadata template.
- `pdf_export_json`: Export PDF metadata to JSON.
- `pdf_export_yaml`: Export PDF metadata to YAML.
- `pdf_export_csv`: Export PDF metadata to CSV.
- `pdf_import_from_filename`: Extract metadata from PDF filenames and set it.
- `pdf_import_from_json`: Import metadata from JSON.
- `pdf_import_from_yaml`: Import metadata from YAML.
- `pdf_import_from_csv`: Import metadata from CSV.
- `pdf_license`: Check, activate, or release the license.
