← Back to directory
P

PDF Metadata Editor

Community
Read and edit PDF metadata through MCP.
Category
Other #109 of 678
Stars
★ 231 Very popular
Transport
stdio (local process)
Runtime
Node.js 18+
Credentials
No credential needed
License
GPL-3.0
Last commit
Tools
13
59FMRS · C

This server handles PDF metadata reading, batch editing, renaming, and structured import and export. Read-only inspection tools do not require a license; some batch tools may. It defaults to the current working directory and supports narrowing file access with a root directory and disabling writes with read-only mode.

Strongest · Documentation 16/20 Weakest · Maintenance 8/20

Reliability
9/20
Security and permissions
12/20
Maintenance
8/20
Documentation
16/20
Setup experience
14/20
Why each score
Reliability 9/20
The documentation describes stdio transport, the tool list, batch result formats, per-file errors, and runtime fallback across platforms, giving the main paths a clear design. The supplied material contains no CI workflows, committed tests, or observed handshake evidence, so startup and tool behavior remain unverified and the score is limited.
Security and permissions 12/20
The documentation says access defaults to the current working directory, can be narrowed with --mcp-root, and rejects paths outside the root and symlink escapes. It also offers read-only mode and warns that import files may contain passwords. Points are deducted because write operations such as setting, clearing, renaming, and exporting can run directly; the material shows no per-operation confirmation and gives limited disclosure of data handling or external network behavior.
Maintenance 8/20
The material provides a GPL-3.0 license, npm package version 4.5.0, and a public repository, offering some maintenance and version information. It provides no commit or release history, dependency update record, security response channel, or maintainer response evidence. Stars and unarchived status do not add maintenance points.
Documentation 16/20
The docs cover tool purposes, parameter conventions, batch limits and timeouts, output directories, import and export behavior, protected PDFs, permission options, platform support, troubleshooting, and configuration examples for several clients. Points are deducted because the material does not show complete per-tool parameter schemas or test evidence, and says only that some batch tools may require a license.
Setup experience 14/20
The docs provide Node.js 18+, npx and global installation paths, and configuration examples for several mainstream clients. They list supported platforms and Java fallback requirements. Points are deducted because there is no verifiable installation or connection execution evidence, some platforms require Java preparation, and the client's working directory can affect the default file scope.

Static review · not runReviewed 2026-12-02

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local files

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 and side effects

  • 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.

Setup

Before you start

Runtime:Node.js 18+

Other optional settings (2)
PDF_METADATA_EDITOR_JAVA optional Optional: sets the path to the Java executable for fallback operation on unsupported platforms or when optional dependencies are omitted.
PDF_METADATA_EDITOR_JAR optional Optional: sets the path to an application JAR for development or a custom build.

Requires Node.js 18 or newer. Add the supplied JSON configuration to a client that supports the mcpServers configuration shape; the client starts the server with npx -y pdf-metadata-editor-mcp. By default, file access is limited to the current working directory; add --mcp-root and a target directory to narrow the scope. Supported platforms generally need no Java; other platforms or installations without optional dependencies require Java 17 or newer.

claude_desktop_config.json
{"mcpServers":{"pdf-metadata-editor":{"command":"npx","args":["-y","pdf-metadata-editor-mcp"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "pdf-metadata-editor": {
      "command": "npx",
      "args": [
        "-y",
        "pdf-metadata-editor-mcp"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.pdf-metadata-editor]
command = "npx"
args = ["-y", "pdf-metadata-editor-mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add pdf-metadata-editor -- npx -y pdf-metadata-editor-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that pdf_list_fields and pdf_read_metadata appear in your MCP client's tool list. Then ask it to list the available PDF metadata fields and confirm the server returns field information.

Troubleshooting

  1. Confirm Node.js is version 18 or newer; on unsupported platforms or without optional dependencies, confirm Java is version 17 or newer.
  2. Use --doctor to inspect the selected runtime, JAR path, root, batch limit, and write mode.
  3. For access issues, check that paths are within the MCP root and whether directory expansion reached the batch limit or timeout.
  4. Password-protected PDFs require ownerPassword; check that the supplied password is accepted.
  5. Check stderr for startup diagnostics; MCP JSON-RPC messages use stdout.

Things to try

Once connected, you can ask your AI assistant things like:

  • List the PDF metadata fields and read metadata from PDFs in the docs folder.
  • Set the title of docs/report.pdf to “Quarterly Report”.
  • Export metadata from PDFs in the docs folder to CSV.
  • Check the current license status.

Tools 13

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

Use cases

Read and inspect metadata in a PDF or a directory of PDFs.
Set, clear, or rename PDF files in batches using metadata templates.
Import or export metadata between PDFs and JSON, YAML, or CSV files.
Set PDF metadata from a filename template.

Supported clients

Claude Desktop
Claude Code
Cursor
Windsurf
Cline
OpenCode
VS Code
Codex

Listed from the project's documentation, not tested by this site.

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.

Similar servers

Source revision d471947405b0 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/npm.svg)](https://followmcp.com/en/servers/npm)