bernstein
MCP server by sipyourdrink-ltd Community
Bernstein is an open-source governance layer for AI agents that enforces policy you write and produces a verifiable record of each run. It is aimed at teams running CLI coding agents such as Claude Code, Codex and Gemini CLI who need auditable runs.
Install bernstein
Built from the published package, never by AI.
claude mcp add bernstein -- uvx bernsteinRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"bernstein": {
"args": [
"bernstein"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"bernstein": {
"args": [
"bernstein"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"bernstein": {
"args": [
"bernstein"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add bernstein -- uvx bernstein{
"mcpServers": {
"bernstein": {
"args": [
"bernstein"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add bernstein uvx bernsteinGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the bernstein block.
About
Bernstein runs AI agents under policy as code. You write rules about who may do what, what needs approval and what must be recorded, and Bernstein enforces them. A deterministic scheduler with no model in the coordination loop runs agents in parallel, gates their output and records each step, so a run can be verified offline from its artifacts.
CLI coding agents such as Claude Code, Codex and Gemini CLI work out of the box, and the same layer can govern other agent work, such as reports, datasets or audit evidence packs. Each coding task gets its own git worktree behind merge gates. It is licensed under Apache-2.0, with an air-gap install profile, and is in beta and solo-maintained. It is aimed at teams that want auditable agent runs.
Written from the project's README and checked against it.
What you need
- Python, installed with uv or pipx
- A CLI coding agent such as Claude Code, Codex or Gemini CLI
- A git repository with a working branch
- Docker, optional install route
Try asking
- Verify this Bernstein run receipt offline against its public key
- Run my repository's backend tasks with Claude Code under Bernstein
- Show the live dashboard for an in-flight Bernstein run
Good to know
- Status is beta and the project is solo-maintained.
- Minor versions may change interfaces, so pin the version.
- Stricter filesystem enforcement is opt-in through sandbox backends.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Run coding agents in parallel with merge gates
- Produce verifiable audit records for agent runs
- Govern agent workloads in air-gapped environments
Alternatives to bernstein
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
bernstein: common questions
Does Bernstein need an LLM to schedule tasks?
No. The README says the scheduler is plain Python with no model in the coordination loop, so runs can be reproduced.
Can a Bernstein run be verified after it finishes?
Yes. Run receipts can be checked offline from the artifacts, and a tampered receipt fails with TAMPER DETECTED.
Is Bernstein ready for production use?
The README labels it beta and solo-maintained, and says minor versions may change interfaces, so it advises pinning the version.
How do I install bernstein?
In Claude Code run claude mcp add bernstein -- uvx bernstein. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is bernstein the official server?
bernstein is a community project by sipyourdrink-ltd, not verified by a company domain.
Is bernstein free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is bernstein safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to bernstein?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does bernstein work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
