Xata MCP Server for Claude CodeGive Claude Code instant access to 28 tools to Cancel Organization Invitation, Create Branch, Create Org Api Key, and more
Claude Code is Anthropic's agentic CLI for terminal-first development. Add Xata as an MCP server in one command and Claude Code will discover every tool at runtime. ideal for automation pipelines, CI/CD integration, and headless workflows via Vinkius.
Ask AI about this MCP Server for Claude Code
The Xata MCP Server for Claude Code is a standout in the Databases category — giving your AI agent 28 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
# Your Vinkius token. get it at cloud.vinkius.com
claude mcp add xata --transport http "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install Xata and 4,000+ MCP Servers from a single visual interface.





* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Xata MCP Server
Connect your Xata account to any AI agent to manage your serverless data infrastructure through natural conversation.
Claude Code registers Xata as an MCP server in a single terminal command. Once connected, Claude Code discovers all 28 tools at runtime and can call them headlessly. ideal for CI/CD pipelines, cron jobs, and automated workflows where Xata data drives decisions without human intervention.
What you can do
- Organization Management — List, create, and update organizations, and manage member invitations and roles.
- Project Control — Create and list projects within your organizations and monitor resource limits and quotas.
- Database Operations — Manage branches, retrieve credentials, and execute SQL queries directly against your data.
- Developer Workflow — Handle API keys and GitHub integrations to streamline your deployment pipeline and repository mapping.
The Xata MCP Server exposes 28 tools through the Vinkius. Connect it to Claude Code in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 28 Xata tools available for Claude Code
When Claude Code connects to Xata through Vinkius, your AI agent gets direct access to every tool listed below — spanning serverless, relational-database, vector-search, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Cancel organization invitation on Xata
Cancel a pending organization invitation
Create branch on Xata
Create a new database branch
Create org api key on Xata
Create an API key for the organization
Create organization on Xata
Create a new Xata organization
Create project on Xata
Create a new project in an organization
Create user api key on Xata
Create a new user API key
Delete user api keys on Xata
Bulk delete user API keys by ID
Execute sql on Xata
Execute single or batch SQL queries over HTTP
Get branch credentials on Xata
Retrieve database username and password for a branch
Get branch metrics on Xata
Query observability data (CPU, Memory, Disk, etc.) for a branch
Get github repository mapping on Xata
Retrieve the current GitHub repository mapping for a branch
Get organization on Xata
Get detailed information about a specific organization
Get project limits on Xata
Get resource limits for projects in an organization
Install github app on Xata
Link a GitHub App installation to an organization
Invite organization member on Xata
Invite a user to an organization via email
List branches on Xata
List all branches in a project
List images on Xata
List available PostgreSQL versions/images
List org api keys on Xata
List organization-scoped API keys
List organization invitations on Xata
List pending or expired invitations for an organization
List organization members on Xata
List members of an organization
List organizations on Xata
List all organizations the authenticated user belongs to
List projects on Xata
List all projects within an organization
List regions on Xata
List available regions for project deployment
List user api keys on Xata
List API keys for the authenticated user
Map github repository on Xata
Map a GitHub repository to a branch
Remove organization member on Xata
Remove a member from an organization
Rotate branch credentials on Xata
Trigger a password rotation for a branch
Update organization on Xata
Update organization information
Connect Xata to Claude Code via MCP
Follow these steps to wire Xata into Claude Code. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Claude Code
npm install -g @anthropic-ai/claude-code if not already installedAdd the MCP Server
Verify the connection
claude mcp to list connected servers, or type /mcp inside a sessionStart using Xata
Why Use Claude Code with the Xata MCP Server
Claude Code provides unique advantages when paired with Xata through the Model Context Protocol.
Single-command setup: `claude mcp add` registers the server instantly. no config files to edit or applications to restart
Terminal-native workflow means MCP tools integrate seamlessly into shell scripts, CI/CD pipelines, and automated DevOps tasks
Claude Code runs headlessly, enabling unattended batch processing using Xata tools in cron jobs or deployment scripts
Built by the same team that created the MCP protocol, ensuring first-class compatibility and the fastest adoption of new protocol features
Xata + Claude Code Use Cases
Practical scenarios where Claude Code combined with the Xata MCP Server delivers measurable value.
CI/CD integration: embed Xata tool calls in your deployment pipeline to validate configurations or fetch secrets before shipping
Headless batch processing: schedule Claude Code to query Xata nightly and generate reports without human intervention
Shell scripting: pipe Xata outputs into other CLI tools for data transformation, filtering, and aggregation
Infrastructure monitoring: run Claude Code in a cron job to query Xata status endpoints and alert on anomalies
Example Prompts for Xata in Claude Code
Ready-to-use prompts you can give your Claude Code agent to start working with Xata immediately.
"List all my Xata organizations."
"Invite dev@example.com to organization org-123."
"Show me the projects in organization 'org-123'."
Troubleshooting Xata MCP Server with Claude Code
Common issues when connecting Xata to Claude Code through Vinkius, and how to resolve them.
Command not found: claude
npm install -g @anthropic-ai/claude-codeConnection timeout
Xata + Claude Code FAQ
Common questions about integrating Xata MCP Server with Claude Code.
How do I add an MCP server to Claude Code?
claude mcp add --transport http "" in your terminal. Claude Code registers the server and discovers all tools immediately.Can Claude Code run MCP tools in headless mode?
How do I list all connected MCP servers?
claude mcp in your terminal to see all registered servers and their status, or type /mcp inside an active Claude Code session.Explore More MCP Servers
View all →
DataDive
10 toolsEquip your AI agent to retrieve Amazon seller insights, keyword rankings, and niche analytics directly via the DataDive API.

Mailingwork
10 toolsExecute professional email marketing campaigns with advanced segmentation, A/B testing, and GDPR-compliant list management.

MarketMan
8 toolsManage restaurant inventory, purchase orders, vendors, recipes, food cost, and waste tracking through natural conversation.

Duffel Flights
8 toolsSearch and book flights via Duffel — list airlines, airports, and manage flight orders directly via AI.
