GitBook Assistant Ask chevron-down 🔌 IntegrationsModel Context Protocol (MCP) Connect your AI assistant to live interest rate data from BlueGamma using the Model Context Protocol (MCP).
The BlueGamma MCP server lets you query live interest rate data — swap rates, forward curves, discount factors, FX rates, and more — directly from your AI assistant using natural language.
MCP is an open standard that connects AI tools to external data sources. With BlueGamma's MCP server, your assistant can fetch real-time market data without you writing any code.
1. Install the CLI
Copy npm install -g @anthropic-ai/claude-code 2. Add the BlueGamma MCP server
Copy claude mcp add bluegamma-api --transport http https://mcp.bluegamma.io/mcp 3. Launch Claude Code
On first use, you'll be prompted to authenticate with BlueGamma via your browser. Once authenticated, you can start querying immediately.
4. Verify the connection
Type /mcp in Claude Code. You should see:
Copy Authentication successful. Connected to bluegamma-api. Add the following to your claude_desktop_config.json:
Restart Claude Desktop after saving. You'll be prompted to log in to BlueGamma on first use.
Open Settings > MCP Servers > Add Server
https://mcp.bluegamma.io/mcp/
Click Save and authenticate when prompted.
Once connected, your AI assistant has access to the following tools:
Get the latest published fixing for a rate index
Calculate the fair fixed rate of an interest rate swap
Get a complete swap curve for an index (all tenors)
Get the implied forward rate between two dates
Get a forward curve with rates for each period
Get the discount factor for a date and index
Get a discount curve with factors for each date
Get the zero/spot rate for a date and index
get_historical_swap_rates
Get historical swap rates for an index and tenor
List available tenors for an index
Get FRA rates for an index (EUR, SEK, NOK, DKK)
Get a specific FRA rate by currency and tenor
FX & Government Bonds
Get the FX spot rate for a currency pair
Get the FX forward rate for a currency pair and date
Get zero-coupon government bond yield
List all supported rate indices
Example Prompts
Once connected, just ask in natural language:
"What's the current SOFR fixing?"
"Get me the full EURIBOR swap curve"
"What's the 5Y SONIA swap rate?"
"Show me the SOFR forward curve from 1Y to 10Y, quarterly"
"What's the EURUSD spot rate?"
"Get historical 10Y SOFR swap rates for the last 3 months"
"What's the UK 10Y government bond yield?"
"What's the 3x6 EUR FRA rate?"
Supported Indices
BlueGamma supports 40+ indices across major currencies. Use the list_supported_indices tool or ask your assistant for the full list.
Common indices include: SOFR , SONIA , 6M EURIBOR , CORRA , Fed Funds , SARON , TONAR , CDI , and many more.
See the full list on the Available Indices page.