How to Use the NationBuilder MCP in Claude Code
Use Claude Code with the NationBuilder MCP Server to automate your campaign operations from the command line.
Works with every AI agent you already use
…and any MCP-compatible client
Connect NationBuilder MCP to Claude Code
Create your Vinkius account to connect NationBuilder to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Script NationBuilder updates
Claude Code executes `create_new_signup` within your CI/CD pipelines or shell scripts. It handles the data payload, ensuring your signup flow stays consistent. It checks connection health first with `get_api_status`. This prevents broken builds by verifying the API is ready before it attempts to write new records.
Automate donation processing
Pipe the output of your payment processor directly into `record_donation`. Claude Code manages the authentication headers and confirms the transaction record. This is ideal for cron jobs that need to sync external transactions. It turns your terminal into a command center for your campaign finances.
List nation assets
Query `list_nation_sites` or `list_custom_people_lists` to pull inventory into your terminal. You can pipe this output to other CLI utilities for analysis. It allows for rapid iteration on your data. You don't need a browser to see which lists or sites are active in your account.
Set up NationBuilder MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seenationbuilder-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest NationBuilder transactions." It will automatically discover and invoke the available NationBuilder tools.
claude mcp add --transport http nationbuilder-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about NationBuilder MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the NationBuilder MCP today
We host it, we monitor it, we maintain it. You just paste one token.