Welcome to the Splitwise MCP Server! This guide will help you set up MCP (Model Context Protocol) servers for Splitwise integration across different AI clients.
Model Context Protocol (MCP) is an open standard that enables AI assistants to connect with external tools and data sources. By setting up a Splitwise MCP server, you'll be able to:
Before you begin, make sure you have:
Choose your AI client and follow the specific instructions:
.vscode/mcp.json file in your workspace, orUse Command Palette: MCP: Add Server → Select Workspace Settings
Add Splitwise Configuration:
json
{
"servers": {
"splitwise": {
"url": "https://mcp-gateway.freengers.com/remote/gateway/splitwise/mcp",
"headers": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
}
}
}
Replace Token: Replace YOUR_ACCESS_TOKEN with the token from our generator
Restart VS Code: Close and reopen VS Code to load the MCP server
Test Integration:
MCP: List Servers - View all configured MCP serversMCP: Show Installed Servers - Manage MCP servers in Extensions viewEnable MCP servers option
Add Configuration File: Create one of these files:
.cursor/mcp.json in your projectGlobal: ~/.cursor/mcp.json in your home directory
Add Splitwise Configuration:
json
{
"mcpServers": {
"splitwise": {
"url": "https://mcp-gateway.freengers.com/remote/gateway/splitwise/mcp",
"headers": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
}
}
}
Replace Token: Replace YOUR_ACCESS_TOKEN with the token from our generator
Restart Cursor: Restart the application to load the MCP server
Test Integration:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.json
Edit Configuration:
Or manually edit the file with a text editor
Add Splitwise Configuration:
json
{
"mcpServers": {
"splitwise": {
"url": "https://mcp-gateway.freengers.com/remote/gateway/splitwise/mcp",
"headers": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
}
}
}
Replace Token: Replace YOUR_ACCESS_TOKEN with the token from our generator
Restart Claude Desktop: Close and reopen the application
Test Integration:
Once set up, you can use natural language to:
MCP Server Not Loading: - Verify the configuration file syntax is valid JSON - Check that the access token is correct - Restart your AI client
Authorization Errors: - Regenerate your access token using our generator - Ensure the token hasn't expired - Check that you have the necessary Splitwise permissions
Tool Not Available: - Confirm MCP support is enabled in your AI client - Check that the Splitwise tools appear in the available tools list - Try explicitly mentioning "Splitwise" in your prompt
If you encounter issues:
For development or custom deployments, you can use environment variables:
export SPLITWISE_TOKEN="your_token_here"
export MCP_GATEWAY_URL="https://mcp-gateway.freengers.com/remote/gateway/splitwise/mcp"
If you're running your own MCP gateway, update the URL in the configuration:
{
"url": "https://your-custom-gateway.com/mcp/splitwise"
}
Need more help? Contact us at divyanshubansal.db@gmail.com or visit our GitHub repository for the latest updates.