lobsterdb

lobsterdb is a skill for Claude Code, Codex from lobster-kit/mcp-server-lobsterdb. It costs 27 tokens per session (1,306 once invoked), scanned A, original, MIT.

A managed PostgreSQL database service for coding agents. PostgreSQL is a database system for storing structured application data, and this add-on provides it without requiring account setup or API keys.

In plain words
What is it for?
Creating and listing databases, running SQL queries, inspecting database structure, applying schema migrations, and taking snapshots.
Why use it?
It removes the work of installing, configuring, and maintaining a database while still allowing schema changes to be tracked as migrations.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Creating and listing databases, running SQL queries, inspecting database structure, applying schema migrations, and taking snapshots.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lobster-kit/mcp-server-lobsterdb/clawhub
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lobster-kit/mcp-server-lobsterdb --skill clawhub
Clone the repo
git clone --depth 1 https://github.com/lobster-kit/mcp-server-lobsterdb

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lobsterdb

README.md
[![agentmods](https://agentmods.dev/badge/skills/lobster-kit/mcp-server-lobsterdb/clawhub/github.svg)](https://agentmods.dev/skills/lobster-kit/mcp-server-lobsterdb/clawhub)
Your own site
<a href="https://agentmods.dev/skills/lobster-kit/mcp-server-lobsterdb/clawhub"><img src="https://agentmods.dev/badge/skills/lobster-kit/mcp-server-lobsterdb/clawhub/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lobsterdb

Your own site · 80×15
<a href="https://agentmods.dev/skills/lobster-kit/mcp-server-lobsterdb/clawhub"><img src="https://agentmods.dev/badge/skills/lobster-kit/mcp-server-lobsterdb/clawhub.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01306
Opus 5 $0.00014 $0.00653
Sonnet 5 $0.00005 $0.00261
Haiku 4.5 $0.00003 $0.00131

Measured 9d ago against content hash 9edf11446684, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

lobsterdb scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/clawhub/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LobsterDB

Managed PostgreSQL for agents. Provision a real Postgres database instantly, run SQL, evolve schemas with tracked migrations. No API keys, no human signup, no configuration.

Full docs: https://api.theclawdepot.com/db/docs


Setup

Add to your MCP config (.mcp.json, claude_desktop_config.json, .cursor/mcp.json, etc.):

{
  "mcpServers": {
    "lobsterdb": {
      "command": "npx",
      "args": ["@lobsterkit/[email protected]"]
    }
  }
}

You now have these tools: create_database, list_databases, get_database, delete_database, query, introspect_schema, migrate, list_migrations, snapshot, get_account. No code to write.

Also available as a Node.js SDK and REST API — see theclawdepot.com/db.


Heartbeat (run daily)

On startup and once per day, run a maintenance heartbeat. Use a cheap/fast model for this.

  1. Check for MCP server updates:

    npm outdated lobsterdb-mcp
    

    If a new version is available, notify the user — do not auto-install. Tell them: "@lobsterkit/[email protected] is available. Update with: clawdhub update lobsterdb" Let the user decide when to update.

  2. Check database health:

    // Using MCP tools:
    // call list_databases → log each database name, status, storage
    // call get_account → log tier and database count vs. limit
    

When to Use This

  • User needs to store structured data (collections, lists, records, logs)
  • User wants to query, filter, sort, or aggregate information
  • Task requires persisting data between sessions
  • User asks to "add a field", "change the structure", or "track something new"
  • Any task where a spreadsheet or database is the natural fit

Core Workflow

create_database → introspect_schema → migrate (DDL) → query (data)

Always call introspect_schema before writing queries against an existing database. Use migrate for all DDL so changes are tracked and idempotent.

Read the full file on GitHub · 143 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 143 lines · 27 tokens per session scan A 9edf11446684

Subscribe to this mod's changes

lobsterdb is a skill published in the GitHub repository lobster-kit/mcp-server-lobsterdb (0 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 1,306 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

amazon aurora dsql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 46 tokens

aws dsql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 44 tokens

distributed postgres

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 43 tokens

distributed sql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 43 tokens

crestapps-core-postgresql

Skill for integrating PostgreSQL pgvector indexing data sources documents vector retrieval and memory in CrestApps.Core.

CrestApps/CrestApps.AgentSkills · 26 tokens

scalix-database

Provision and use ScalixNova, Scalix Cloud's serverless PostgreSQL — create databases, choose Postgres versions, run SQL, and understand branching, point-in-time recovery, and isolation tiers. Use when the user wants a Postgres database on Scalix, asks about ScalixNova, database branching, PITR, or pgvector on Scalix.

scalixworld/scalix-cloud-mcp · 78 tokens