Skip to content

Midplane vs semlayer

Midplane is an open-source MCP server for databases. semlayer is a free MCP server for databases.

  • Midplane is best for give an agent read access to a production postgres without exposing pii.
  • semlayer is best for give a text-to-sql agent warehouse context.
What it is
Midplane is an open-source MCP server for databases.
semlayer is a free MCP server for databases.
Best for
Give an agent read access to a production Postgres without exposing PII
Give a text-to-SQL agent warehouse context
Kind
MCP server
MCP server
Pricing
Open source
Free
Platforms
CLI, self-hosted
CLI, self-hosted
Runs
Locally
Locally
GitHub stars
5
Last commit
Nov 2026
License
MIT
Open source
Good for
Give an agent read access to a production Postgres without exposing PII; Require human sign-off on writes made by an AI agent; Keep a verifiable record of every query an agent ran
Give a text-to-SQL agent warehouse context; Document an undocumented schema; Standardize metric definitions

What Midplane does

  • Policy-checked statements

    Each SQL statement is parsed and checked before it runs.

  • Table access grants

    Agents only reach the tables you allow.

  • Masking at the source

    Sensitive columns are masked before results reach the agent.

  • Write approvals

    Writes can be held until a person approves them.

  • Containment

    Restricts what an agent can do after it reads untrusted content.

  • Hash-chained audit log

    Stored on the gateway's disk and verifiable with midplane audit verify.

What semlayer does

  • Undeclared joins

    Finds foreign keys nobody declared.

  • Hidden filters

    Recovers filters baked into summary tables.

  • Metric definitions

    Captures how measures like average order value are computed.

  • Open file output

    One file readable by any agent.

  • Optional LLM step

    Descriptions and join validation use an API key.

Midplane vs semlayer: questions

Is Midplane or semlayer cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Midplane and semlayer?

Midplane is an open-source MCP server for databases. semlayer is a free MCP server for databases.