Skip to main content

Marcarr

marcar: to mark.

Marcarr is a self-hosted service that runs next to Plex. It looks at each film or episode once and records what is in it: camera cuts, subtitle lines, scenes, measured signals, faces, cast and tags ("christmas", "rain", "a cave"). Other apps ask Marcarr instead of analysing the file again.

Its first two clients are FansCut, which builds cuts from tagged scenes, and Doblarr, which dubs and needs to know where a line is said and who is on screen.

On its own

You don't need FansCut or Doblarr to use Marcarr. Point it at your Plex server and it gives you:

  • Scene search across your library: every rain scene, every Christmas dinner, every scene with a given actor, with the film and the time it starts.
  • Plex labels and collections: films with a tag get a label (marcarr:christmas), so a Kometa or smart-collection rule can build a "Christmas scenes" row.
  • A review page: accept, fix or reject what the AI proposed, scene by scene.
  • Tools for AI clients: an MCP server, so an assistant can ask "where does this happen?" or tag a scene itself.
  • An API and one JSON file per video: for any other tool that wants to know what is in a file without decoding it.

Running it

python -m venv .venv && .venv/Scripts/pip install -e ".[faces,mcp,dev]"   # or bin/pip
cd ui && npm install && npm run build && cd ..
marcarr serve                      # http://127.0.0.1:7470, first run opens the setup

Or docker compose up -d --build. Settings are in config.yaml (see config.example.yaml); the Settings page edits it.

Other commands: marcarr scan (read Plex once), marcarr analyse <file> (one file, no Plex), marcarr mcp (MCP server on stdio), marcarr status.

For UI work without Plex: python scripts/seed_demo.py --config demo/config.yaml video.mp4, then marcarr --config demo/config.yaml serve, and npm run dev in ui/ (proxies /api to port 7470).

Layout

  • marcarr/stages/: the analysis code taken from FansCut (subtitles, scenes, signals, cast, faces, the tagger and its prompts, the 130-tag list).
  • marcarr/pipeline.py: the seven steps per video, states, staleness, cost.
  • marcarr/routes/: the v1 API. ui/src/api/types.ts is the contract.
  • ui/: React + Vite, built from the design in docs/design/.

Connecting FansCut and Doblarr: docs/CLIENTS.md. The plan: docs/PLAN.md.

Metadata

Release files for marcarr 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marcarr 0.1.0
File Size Uploaded Provenance Actions
marcarr-0.1.0.tar.gz 440.2 kB Without provenance Details for marcarr-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for marcarr 0.1.0
File Interpreter ABI Platform Actions
marcarr-0.1.0-py3-none-any.whl Python 3 none any Details for marcarr-0.1.0-py3-none-any.whl

Total release size: 872.3 kB

Release files / marcarr-0.1.0.tar.gz

Download URL marcarr-0.1.0.tar.gz
Size 440.2 kB
Tags Source
SHA-256 checksum
How to use checksums
55c55342d9abee9aca7a6327eb4755c6aa22e988e393f170d94962030cee416a
BLAKE2b-256 checksum
How to use checksums
743c55204abb42b26aacda7b1889b3eee5fdf7923396711a233459d01ce2723b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / marcarr-0.1.0-py3-none-any.whl

Download URL marcarr-0.1.0-py3-none-any.whl
Size 432.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25191dd54d5f6e092a4a5191a9d2c7b43cf6724f058f1ba110e8dbc05e85324b
BLAKE2b-256 checksum
How to use checksums
9348fb43d4b7a554d997d8763662dc9bbec4f63b59781d601d669cb6094dd95b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for marcarr 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page