weavori mcp
Start the Weavori MCP server over stdio for AI assistants.
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
| Tool | Description | Read-only |
|---|---|---|
introspect | Inspect a PostgreSQL schema and return its structure | ✅ |
estimate | Estimate generation time and row counts before running | ✅ |
generate | Generate synthetic data into a target database | ❌ |
doctor | Run comprehensive diagnostics on your Weavori environment | ✅ |
sync | Copy data between PostgreSQL databases | ❌ |
Environment variables
| Variable | Required | Description |
|---|---|---|
WEAVORI_DATABASE_URL | No (fallback) | Default PostgreSQL DSN when tools don't provide one |
WEAVORI_API_KEY | Yes | API key for authentication and quota management |
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