Duplicacy MCP logo

Duplicacy MCP

by GeiserX

Reads Duplicacy exporter metrics over MCP for backup health, history, pruning, snapshots, and storage usage.

Install Duplicacy MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "geiserx-duplicacy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "duplicacy-mcp"
      ],
      "env": {
        "DUPLICACY_EXPORTER_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

GeiserX/duplicacy-mcp reads metrics from a Duplicacy Prometheus exporter and exposes them through MCP tools and resources. It provides backup health verdicts, snapshot filtering, run details, prune state, history, and storage usage without modifying Duplicacy or the exporter. Use it when an MCP client needs read-only visibility into Duplicacy backups, either through stdio or Streamable HTTP. The project also provides Docker, Go binary, and npm-based deployment options.

Use cases

  • Check whether every Duplicacy backup is healthy
  • Inspect the last completed run for a snapshot
  • Review prune activity by storage target
  • Track storage size, chunks, and snapshot revisions

Key features

  • Backup health verdicts with configurable stale threshold
  • Snapshot, storage target, and machine filtering
  • Read-only backup and prune status queries
  • Recent run history from the exporter
  • Storage usage and revision metrics
  • Stdio and Streamable HTTP transports

Tools6

What Duplicacy MCP lets your agent do. Expand a tool for its parameters.

Self-reported~157 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

10/10 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · duplicacy-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads1kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Duplicacy MCP works

What GeiserX/duplicacy-mcp does

GeiserX/duplicacy-mcp converts metrics from duplicacy-exporter into MCP tools and resources for read-only backup monitoring. It is suited to environments where Duplicacy already publishes its operational data through the exporter and an MCP-compatible client needs to inspect that data.

The server covers backup health, snapshot inventory, individual backup state, recent run information, pruning activity, and storage consumption. Its health overview classifies backups as ok, running, stale, never, or failed, and includes a reason and the age of the last successful backup. The default stale threshold is 26 hours, with an option to change it for an overview request.

How it works

Set DUPLICACY_EXPORTER_URL to the address of the Duplicacy exporter. The MCP server queries that exporter and presents the resulting metrics through stdio or Streamable HTTP. It does not run backup, restore, or prune commands; its tools and resources are read-only.

The server supports MCP revisions from the 2024-11-05 initialization flow through the 2026-07-28 discovery and stateless request model. The same binary supports both stdio and Streamable HTTP. HTTP binds to 127.0.0.1:8080 by default. When configured to listen on another address, it requires bearer-token authentication, rejects cross-origin browser requests, and limits request body size.

Three MCP resources are available: duplicacy://status, duplicacy://progress, and duplicacy://health.

Setup and configuration

The npm package starts the server over stdio and can be configured in Claude Code, Claude Desktop, Cursor, VS Code, and Codex. A typical setup passes the exporter URL as an environment variable and runs npx -y duplicacy-mcp.

Docker provides a Streamable HTTP deployment. The container listens on port 8080 and accepts DUPLICACY_EXPORTER_URL. For a container exposed beyond localhost, set MCP_AUTH_TOKEN; unauthenticated operation is available only when MCP_ALLOW_UNAUTHENTICATED=true is deliberately used behind an authenticating reverse proxy.

The project also publishes Go binaries and supports local builds. With npm 12, pnpm, or Bun, the wrapper downloads and verifies its binary on first start because those package managers skip install scripts.

Tools and capabilities

  • get_backup_overview reports the health verdict, explanation, and last-success age for every backup.
  • list_snapshots returns snapshot IDs together with their storage targets and machines.
  • get_backup_status shows the state and last-run details for one snapshot, storage target, and machine.
  • get_backup_history returns the exporter's last completed run for a snapshot.
  • get_prune_status reports whether pruning is active and when pruning last succeeded for a storage target.
  • get_storage_usage reports storage size, chunk counts, and revisions by snapshot.

All tools include read-only metadata, titles, output schemas, and structured results. The exporter retains only the last completed run for history, so this server is intended for current and recent status rather than a full historical archive.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Duplicacy MCP

GeiserX/duplicacy-mcp is an MCP server that connects to the duplicacy-exporter Prometheus metrics endpoint and exposes read-only tools for backup health, snapshot listing, backup status, recent history, prune status, and storage usage. It supports stdio and Streamable HTTP for MCP clients.

Install it with the npm wrapper by running `npx -y duplicacy-mcp` and setting `DUPLICACY_EXPORTER_URL` to the exporter address. Docker images and Go binaries are also available, with Docker using Streamable HTTP.

Yes, GeiserX/duplicacy-mcp works with Cursor over stdio. Add it to `~/.cursor/mcp.json`, run `npx -y duplicacy-mcp`, and pass `DUPLICACY_EXPORTER_URL` in the server environment.

No, GeiserX/duplicacy-mcp is read-only. Its tools and resources query exporter data for health, status, history, pruning, and storage information without performing backup or prune operations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDuplicacy MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/geiserx-duplicacy-mcp?style=directory)](https://allmcps.com/mcp/geiserx-duplicacy-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/geiserx-duplicacy-mcp"><img src="https://allmcps.com/api/badge/geiserx-duplicacy-mcp?style=directory" alt="Duplicacy MCP on AllMCPs" /></a>