weavori mcp
Start the Weavori MCP server over stdio for AI assistants.
Last updated October 20, 2018
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 | No (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