Prerequisites
- VS Code installed
- Claude Code extension or another MCP-compatible extension
- An AstroBee account with at least one published data layer
- An API key from Settings > Integrations
Step 1: Get Your MCP Configuration
- Navigate to Settings > MCP in AstroBee
- Copy the server configuration
Step 2: Configure VS Code
For Claude Code Extension
- Open VS Code settings (Cmd/Ctrl + ,)
- Search for “Claude Code MCP”
- Add the AstroBee server to your MCP servers configuration:
- Replace
your-api-key-herewith your actual API key - Reload VS Code
Step 3: Verify Connection
- Open the Claude Code panel in VS Code
- Ask Claude to list available data layers
- Claude should show your published AstroBee data layers
Using AstroBee in VS Code
With AstroBee connected, you can:- Query data while coding: “What’s the schema for the customers table?”
- Generate code from data: “Write a function to calculate customer lifetime value based on my orders data”
- Validate assumptions: “How many products have null prices in my dataset?”
Example Workflow
Troubleshooting
Extension not detecting MCP server
Extension not detecting MCP server
- Verify your settings.json syntax is correct
- Reload VS Code window (Cmd/Ctrl + Shift + P > “Reload Window”)
- Check the extension output panel for errors
Authentication errors
Authentication errors
- Regenerate your API key in AstroBee Settings > Integrations
- Update the key in your VS Code settings
- Reload VS Code

