weavori mcp

Start the Weavori MCP server over stdio for AI assistants.

Last updated August 14, 2026

Usage

$weavori mcp

The mcp command starts the Weavori Model Context Protocol (MCP) server over stdio, enabling AI assistants to introspect schemas, estimate generation costs, and produce synthetic data through natural language.

Available tools

ToolDescriptionRead-only
introspectInspect a PostgreSQL schema and return its structure✅
estimateEstimate generation time and row counts before running✅
generateGenerate synthetic data into a target database❌
doctorRun comprehensive diagnostics on your Weavori environment✅
syncCopy data between PostgreSQL databases❌

Environment variables

VariableRequiredDescription
WEAVORI_DATABASE_URLNo (fallback)Default PostgreSQL DSN when tools don't provide one
WEAVORI_API_KEYNo (recommended)API key for authentication; without it, Weavori falls back to a cached subscription from weavori login, then to the free tier

The database URL can also be passed directly to each tool as the url argument, which takes precedence over the environment variable.

Client configuration

See the MCP setup guide for configuring Weavori with:

  • Claude Desktop: claude_desktop_config.json
  • Cursor: Settings → MCP Servers or .cursor/mcp.json
  • VS Code (Continue): ~/.continue/config.json
  • Qoder: ~/.qoder/mcp.json