Free · local · Linux-first screen recorder CLI
Cap-inspired (not affiliated with Cap / CapSoftware). No paid cloud required.
Record your screen under X11, optional mic + system audio, agent-friendly --json, optional MCP + local library HTTP.
Cap is a great open Loom alternative (desktop + cloud + official Cap CLI). HouseCap fills a practical gap:
| Cap | HouseCap |
|---|---|
| Strong on macOS / Windows desktop | Linux + X11 CLI first |
| Cap Cloud share links | Local files (optional self-host copy) |
| Official agent CLI / MCP | Free house CLI + skill + MCP |
Use official Cap where it fits; use HouseCap when you want zero-cost local Linux recording for humans and agents.
- Screen capture via
ffmpegx11grab - Optional microphone and system audio (PulseAudio)
- Detached
record start/record stop - Machine-readable
--json - MCP server (stdio) for coding agents
- Optional library HTTP (
127.0.0.1:8795) list/download - MIT licensed
- Linux with X11 session (
DISPLAYset) ffmpegpactl(recommended for audio)python3(MCP + library serve)xdpyinfo(optional, display size probe)
# Debian / Ubuntu / Mint
sudo apt install -y ffmpeg pulseaudio-utils x11-utils python3git clone https://github.com/teamrustyonmars-byte/housecap.git
cd housecap
chmod +x housecap install.sh agents-install.sh housecap_mcp.py housecap_serve.py
./install.sh
# optional: agent skill + MCP snippet
./agents-install.sh grok # or: cursor | all | printEnsure ~/.local/bin is on your PATH.
housecap doctor --json
housecap targets --json
# ask a human before recording if you're an agent
housecap record start --system-audio --mic --json
housecap record stop --json
housecap recordings list --jsonRecordings default to ~/.local/share/housecap/recordings/.
housecap guide --json # discover contracthousecap mcp serve
# or: python3 housecap_mcp.pyTools include doctor, targets, record start/stop (start requires confirmed=true), recordings list, share local.
Snippets after ./agents-install.sh:
~/.grok/housecap-mcp.snippet.json~/.cursor/housecap-mcp.snippet.json
Merge into your agent MCP config and restart the agent.
- Confirm before record and share.
- Prefer
guide --jsonover guessing flags. - Never invent cloud URLs — return real paths only.
- Do not pass secrets into MCP.
housecap serve
# GET http://127.0.0.1:8795/v1/health
# GET http://127.0.0.1:8795/v1/recordings
# GET http://127.0.0.1:8795/files/<name>.mp4Default bind is localhost only. For LAN, set HOUSECAP_SERVE_BIND=0.0.0.0 deliberately (trusted networks only).
Optional systemd user unit: housecap-serve.service.
| Variable | Meaning |
|---|---|
HOUSECAP_RECORDINGS |
Output dir |
HOUSECAP_STATE |
PID / meta dir |
HOUSECAP_SHARE |
Optional copy root for share local |
HOUSECAP_SERVE_BIND |
HTTP bind (default 127.0.0.1) |
HOUSECAP_SERVE_PORT |
HTTP port (default 8795) |
HOUSECAP_BIN |
Path to CLI (MCP) |
housecap # main CLI (bash)
housecap_mcp.py # MCP stdio server
housecap_serve.py # local library HTTP
install.sh # symlink to ~/.local/bin
agents-install.sh # skill + MCP snippets
SKILL.md # agent skill text
housecap-serve.service
X11 is supported today. Wayland (wf-recorder / portals) is a welcome contribution — see CONTRIBUTING.md.
MIT — see LICENSE.
Inspired by Cap and Cap for Agents (cap.so, CapSoftware/Cap). HouseCap is an independent free Linux-oriented project.