HOL Guard
Lets your AI agent's risky actions be reviewed, approved or blocked locally, with evidence of every decision.
1.1k stars on GitHubby HOL (Hashgraph Online)License Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add hol-guard -- uvx hol-guard mcp serve --stdio
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Show me the pending approvals and what each one wants to do.
Explain why rm -rf ./build was paused.
What it is
HOL Guard is an open-source security layer for AI agents. It reviews agent actions before they run, such as shell commands, file access, package installs and MCP tool calls, and then allows, blocks or asks for approval based on your policy. It runs locally without an account, and its stdio MCP server exposes this evidence and approval workflow.
What it can do
hol-guard status: check protection statushol-guard approvals: review and approve or deny pending requestshol-guard receipts: read decision historyhol-guard inventory: list tracked plugins, skills and MCP servershol-guard command test: see how a command would be classified without running ithol-guard supply-chain scan: scan workspace dependencies
When to use
- βΊWhen you want to approve or block commands that an AI agent wants to run
- βΊWhen you want to check a package for supply-chain risk before installing it
- βΊWhen you want a record of what your agent was allowed or blocked from doing
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
supply-chain-guardHelps your agent check project dependencies for compromised packages and risky CI/CD setups in npm, PyPI, Rust and GitHub Actions.plugin-scannerHelps your agent scan an AI skill, plugin or MCP server for risky instructions, secret exposure and supply-chain warning signs before you install it.security-reviewHelps your agent look for security holes in code or a feature, such as unsafe inputs, weak access checks, and exposed secrets.Frequently asked questions
Is it free and open source?
Yes. The readme describes it as open-source and local-first, with a LICENSE file. Guard Cloud is optional.
Do I need an account?
No. You can run it locally without an account and use the CLI and local dashboard.
Which agents does it support?
Codex, Claude Code, GitHub Copilot CLI, Cursor, Cline, Gemini CLI, Grok, Hermes, Kimi Code, OpenClaw, OpenCode and others listed in the readme.
Does it catch everything?
Coverage depends on the events each agent exposes. The readme points to a support matrix with enforcement and approval details per integration.
What else is in the repository?
A separate plugin-scanner tool for maintainers, which scans and lints agent plugins, skills and MCP integrations before publishing.
Does it send data off my machine?
The readme says it runs locally. Guard Cloud, with shared history and team policy, is optional and needs hol-guard connect.
If it does not work
- βΊRun hol-guard doctor codex (or your agent's name) to diagnose an integration.
- βΊCheck that Python is 3.10 or newer and that pipx is installed.
- βΊOn Windows ARM64, read the platform support notes in the get-started guide before installing.
5 new skills a week. 1 minute to read.