# Halfnine

This MCP server for Claude Code gives an agent access to PostgreSQL connections in Halfnine. It can read data and prepare changes for approval in the app.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1 repo stars
- Author: notinferred
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/notinferred/halfnine
- Updated: 2026-11-01
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/halfnine

## What it does

Halfnine exposes PostgreSQL connections from its desktop app to an AI agent. Permissions are set per connection: Off, Read, Read with approved writes, or Full. Connections marked red start in Off; other connections start in Read.

With Read with approved writes, proposed changes appear in Halfnine as SQL or staged rows and wait for approval. The Agents page lists agent activity and has a switch to pause all agents. Data the agent reads is sent to its AI provider.

To connect a tool, open Agents and select Connect beside it. Halfnine displays the settings changes before adding the tool.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- read PostgreSQL data through an agent
- prepare SQL changes for approval in the app
- set agent permissions for each connection
- pause all connected agents

## Example prompts
- Read the PostgreSQL tables in this connection and summarize their contents.
- Prepare SQL to change this schema and leave the changes for approval in Halfnine.
- Show me what data is available through this PostgreSQL connection.

## Similar
- [neon](https://affpapa.org/en/nevibecode/skills/neon.md) — skill · 268000 installs
- [database-optimization](https://affpapa.org/en/nevibecode/agents/database-optimization.md) — subagent · 3924 installs
- [supabase-schema-architect](https://affpapa.org/en/nevibecode/agents/supabase-schema-architect.md) — subagent · 3839 installs
- [planetscale-best-practices-matrix](https://affpapa.org/en/nevibecode/skills/planetscale-best-practices-matrix.md) — skill · 2100 installs
- [planetscale-safe-orchestrator](https://affpapa.org/en/nevibecode/skills/planetscale-safe-orchestrator.md) — skill · 2000 installs
- [postgres-pro](https://affpapa.org/en/nevibecode/agents/postgres-pro.md) — subagent · 897 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
