Skip to main content

Prerequisites

  • Claude Code installed (npm install -g @anthropic-ai/claude-code)
  • A VexiData account with at least one connected data source

Connect VexiData to Claude Code

1

Copy your MCP Server URL

Your MCP Server URL is:
You can also find this on the Integrations page in VexiData.
2

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. VexiData’s MCP server uses the Streamable HTTP transport, so pass --transport http — the older sse transport doesn’t work.
3

Authorize the connection

Start Claude Code with claude, run /mcp, select vexidata, and choose to authenticate. A browser window opens on VexiData — review the requested access and click Authorize.
4

Start querying your data

Ask Claude Code 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”
Claude Code uses VexiData to read your schema and run queries against your connected databases.

Manual configuration

You can also add VexiData directly to your Claude Code settings file (~/.claude.json):

Troubleshooting

  • Run claude mcp list to verify VexiData is registered
  • Run /mcp in Claude Code and authenticate vexidata again
  • Check that you still have the Use MCP capability
  • Try removing and re-adding: claude mcp remove vexidata then add again
  • Make sure your default browser is set and working
  • If running in a headless environment (SSH, container), you may need to copy the authorization URL manually from the terminal output and open it in a browser
  • Verify you have at least one database connected in VexiData under Integrations
  • 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