Skip to main content
Glama
Pdf Metadata Editor

Pdf Metadata Editor

by zaro

Pdf Metadata Editor

An advanced GUI editor for PDF Metadata. It is a Java-based graphical user interface (GUI) application that allows users to edit metadata in PDF files. The application utilizes Apache PDFBox as its core library for PDF processing and metadata manipulation.

Installation

Prebuild installers

Prebuilt installers for all supported operating systems can be found from the official website or from the releases section in this repository.

Flathub

flatpak install flathub me.broken_by.PdfMetadataEditor

AppImage (Linux)

Download the AppImage for your architecture (x86_64 or aarch64) from the download page, then:

chmod +x Pdf_Metadata_Editor-*.AppImage
./Pdf_Metadata_Editor-*.AppImage

The command line interface (and the batch launcher) are reachable through symlinks with the respective name:

ln -s Pdf_Metadata_Editor-*.AppImage pmedit-cli
./pmedit-cli --help

Arch Linux (AUR)

Arch Linux users can install the package from the AUR.

yay -S pdf-metadata-editor-bin

Related MCP server: mcp-pdf-tools

MCP server

pmedit-cli can run as a Model Context Protocol server, letting AI clients read and edit PDF metadata through tools.

pmedit-cli --mcp [--mcp-root=DIR] [--mcp-read-only] [--mcp-batch-limit=N]

To print a ready-to-use MCP configuration for the installed desktop app:

pmedit-cli --help-mcp

The desktop app shows the same guide under Help → MCP. It detects AppImage, Flatpak, jpackage, and JAR installations; no npm install is needed.

  • --mcp-root=DIR restricts all file access to DIR (default: current directory).

  • --mcp-read-only disables every mutating tool.

  • --mcp-batch-limit=N sets the maximum files or operations per batch (default: 100, 0 = unlimited).

  • pdf_list_fields and pdf_read_metadata are available without a license.

  • The CLI-parity batch tools (pdf_set_metadata, pdf_clear_metadata, pdf_rename, the export tools, and the import tools) may require a license.

PDF tools take a paths array of files and/or directories, matching the CLI. A single file is paths: ["one.pdf"]. Import tools use importPaths for the JSON/YAML/CSV files and directories. Directories are searched recursively.

The server speaks newline-delimited JSON-RPC over stdin/stdout. Configure it in your MCP client, for example:

{
  "mcpServers": {
    "pdf-metadata-editor": {
      "command": "pmedit-cli",
      "args": ["--mcp"]
    }
  }
}

Add "--mcp-root", "/path/to/pdfs" to args to restrict file access. Without it, the server uses the client's working directory.

Available tools:

Tool

Purpose

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 (CLI edit)

pdf_clear_metadata

Clear metadata fields on every input PDF (CLI clear)

pdf_rename

Rename every input PDF using a metadata template (CLI rename)

pdf_export_json

Export metadata to JSON (CLI tojson)

pdf_export_yaml

Export metadata to YAML (CLI toyaml)

pdf_export_csv

Export metadata to CSV (CLI tocsv)

pdf_import_from_filename

Set metadata extracted from PDF file names (CLI fromfilename)

pdf_import_from_json

Import metadata from JSON (CLI fromjson)

pdf_import_from_yaml

Import metadata from YAML (CLI fromyaml)

pdf_import_from_csv

Import metadata from CSV (CLI fromcsv)

Each batch tool returns a summary plus per-file results; a per-file failure does not abort the batch. Exports additionally return an outputs list, and import results include both the import-file source and the target PDF input.

The MCP server is also available as an npm package:

npx -y pdf-metadata-editor-mcp@next

See npm/README.md for client configuration, platform details, and troubleshooting.

Building from source

Build JAR

mvn clean package -DskipTests -Dpackages.skip=true

You will find the app JAR in modules/editor-gui/target/jar/

Build OS specific installer/app

mvn clean package -DskipTests

This will build all supported installers for your current OS and place them in modules/editor-gui/target/packages/

Help

Documentation is available at the Help page

License

Distributed under the GPL v3 License. See the LICENSE file for more information.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A server providing PDF form manipulation tools via MCP's API, allowing users to find PDFs across directories, extract form field information, and visualize form fields in documents.
      6
      10
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides tools for reading, writing, and manipulating PDF files, including text extraction, metadata retrieval, and merging or splitting documents. It also enables users to create PDFs from plain text and convert specific pages or entire documents into images.
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server for local PDF manipulation including merging, splitting, rotating, watermarking, and text extraction. It works with various MCP-compatible clients and processes PDFs entirely on-device without cloud services.
      11
      MIT