Prerequisites
- Claude Code installed (
npm install -g @anthropic-ai/claude-code) - A VexiData account with at least one connected database
Connect VexiData to Claude Code
Copy your MCP Server URL
Your MCP Server URL is:You can also find this in Settings > AI Integrations in your VexiData AI Integrations page.
Add VexiData as an MCP server
Run the following command to add VexiData to Claude Code’s MCP configuration:This registers VexiData as an MCP server that Claude Code can use in your sessions.
Authorize the connection
The first time Claude Code connects to VexiData, it will open a browser window for authorization. Review the requested permissions and click Approve.
Start querying your data
Launch Claude Code and start asking questions about your databases:For example:
- “What tables are in my database?”
- “Show me the schema for the orders table”
- “Write a query to find users who haven’t logged in for 30 days”
Manual configuration
You can also add VexiData directly to your Claude Code settings file (~/.claude.json):
Troubleshooting
MCP server fails to connect
MCP server fails to connect
- Run
claude mcp listto verify VexiData is registered - Check that your VexiData account has an active session — try logging in at vexidata.com
- Try removing and re-adding:
claude mcp remove vexidatathen add again
Authorization window doesn't open
Authorization window doesn't open
Claude Code can't access my tables
Claude Code can't access my tables
- Verify you have at least one database connected in VexiData under Data Sources
- Check that your database connection is active and the schema has been analyzed
- Try asking specifically about a table name to confirm the connection is working