Lokra runs on your own machine — the client starts it, so there is no endpoint to ping. 5 962 installs a week from pypi. Last commit 30 Nov 2026.
Postgres for AI agents with row locks, masking, approved writes and a signed audit ledger.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add lokra -e 'LOKRA_CONFIG=<LOKRA_CONFIG>' -e 'LOKRA_TOKEN=<LOKRA_TOKEN>' -- uvx lokra serve
{
"mcpServers": {
"lokra": {
"command": "uvx",
"args": [
"lokra",
"serve"
],
"env": {
"LOKRA_CONFIG": "<LOKRA_CONFIG>",
"LOKRA_TOKEN": "<LOKRA_TOKEN>"
}
}
}
}
[mcp_servers.lokra]
command = "uvx"
args = ["lokra", "serve"]
env = { LOKRA_CONFIG = "<LOKRA_CONFIG>", LOKRA_TOKEN = "<LOKRA_TOKEN>" }
{
"mcpServers": {
"lokra": {
"command": "uvx",
"args": [
"lokra",
"serve"
],
"env": {
"LOKRA_CONFIG": "<LOKRA_CONFIG>",
"LOKRA_TOKEN": "<LOKRA_TOKEN>"
}
}
}
}
{
"servers": {
"lokra": {
"type": "stdio",
"command": "uvx",
"args": [
"lokra",
"serve"
],
"env": {
"LOKRA_CONFIG": "<LOKRA_CONFIG>",
"LOKRA_TOKEN": "<LOKRA_TOKEN>"
}
}
}
}
Put your own values in place of
<LOKRA_CONFIG> (Path to the policies.yaml that defines this agent's access), <LOKRA_TOKEN> (The agent's token, from lokra mint-token <agent>).
The author’s registry entry marks them as required.
We read the source, 9 h ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const el=(t,c,h)=>{const e=document.createElement(t);if(c)e.className=c;if(h!=null)e.innerHTML=h;return e;};
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
EU-native PaaS for AI agents — deploy web apps with one sentence, managed Postgres, GDPR by default.
Local shared memory for AI coding agents: SQLite notes with writer provenance, undo, search.
Shared memory for AI agents, as a graph in your own Postgres. Writes never call an LLM.
Postgres for agents: named local/stage/prod targets, READ ONLY reads, opt-in writes, SSH tunnels
A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.
Managed Postgres and Valkey hosted in Germany. Agents can create a trial database with no signup.
A label property graph on SQLite/Postgres with multi-ontology routing and a gated MCP server.
Postgres brake for AI agents: risky SQL waits for approval, UPDATE/DELETE get one-command undo.
Answers built from our own checks of this server.