Couchdb MCP Server

A Model Context Protocol server

Local serverstdioTypeScript

What is the Couchdb MCP server?

If you already use Couchdb, the couchdb mcp server is the piece that lets your assistant work with it directly. A Model Context Protocol server.

What the server does

A Model Context Protocol server for interacting with CouchDB

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • createDatabase — Create a new CouchDB database
  • listDatabases — List all CouchDB databases
  • deleteDatabase — Delete a CouchDB database
  • createDocument — Create a new document or update an existing document in a database
  • dbName — Database name
  • docId — Document ID
  • data — Document data (JSON object)
  • Returns — - For new documents: document ID and new revision
  • getDocument — Get a document from a database
  • createMangoIndex — Create a new Mango index
  • indexName — Name of the index
  • fields — Array of field names to index

Installation

Installation goes through your MCP client rather than a global install: point it at @smithery/cli on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: COUCHDB_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js 14 or higher - Running CouchDB instance - Proper CouchDB credentials if authentication is enabled

Where it fits

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Couchdb's toolset — createDatabase, listDatabases, deleteDatabase and 11 more — is a fair guide to whether it matches your workflow. It is maintained by robertoamoreno; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Couchdb.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
createDatabaseCreate a new CouchDB database
listDatabasesList all CouchDB databases
deleteDatabaseDelete a CouchDB database
createDocumentCreate a new document or update an existing document in a database
dbNameDatabase name
docIdDocument ID
dataDocument data (JSON object)
Returns- For new documents: document ID and new revision
getDocumentGet a document from a database
createMangoIndexCreate a new Mango index
indexNameName of the index
fieldsArray of field names to index
deleteMangoIndexDelete a Mango index
designDocDesign document name

How to install the Couchdb MCP server

{
  "mcpServers": {
    "couchdb": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "COUCHDB_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 14 or higher - Running CouchDB instance - Proper CouchDB credentials if authentication is enabled
VariableDescriptionRequired
COUCHDB_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Couchdb to createDatabase.
  • Use Couchdb to listDatabases.
  • Use Couchdb to deleteDatabase.

Frequently asked questions

It connects Couchdb to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (createDatabase, listDatabases, deleteDatabase, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Couchdb directly.