NowCapital.ca Retirement Planner MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NowCapital.ca Retirement Planner MCP Servercalculate my sustainable monthly spending with $500k savings"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NowCapital.ca Retirement Planner MCP Server
A Model Context Protocol (MCP) server that connects AI assistants like Claude to the NowCapital.ca Retirement Planning API. This integration enables sophisticated Canadian retirement simulations with precise tax calculations, government benefit modeling (CPP/OAS), and comprehensive longevity planning.
What is This?
This MCP server acts as a bridge between AI assistants and NowCapital.ca's retirement planning engine. Once installed, you can have natural conversations with Claude about retirement planning, and Claude will automatically use these tools to provide accurate Canadian retirement projections.
What you can do:
Calculate sustainable retirement spending based on your savings
Generate detailed year-by-year cashflow projections
Run Monte Carlo simulations to assess retirement plan risks
Optimize tax strategies across RRSP, TFSA, and non-registered accounts
Model couple scenarios with income splitting and spousal benefits
Related MCP server: FI-MCP
Available Tools (Skills)
This server provides the following skills:
Skill / Tool | Description |
calculate_sustainable_spend | Primary tool for "How much can I spend?" Calculates the top-line monthly after-tax budget. |
calculate_detailed_spend_plan | Returns a year-by-year CSV breakdown of income, taxes, and account balances. |
calculate_with_target_spend | Calculates year-by-year cash flows for a specific target monthly spend. Allows balances to go negative if unsustainable, showing shortfalls. |
start_monte_carlo_simulation | Initiates a risk analysis job for portfolio longevity. |
get_monte_carlo_results | Retrieves the results of a Monte Carlo job after it completes. |
Features
Precision Math: Calculates sustainable monthly spending with detailed tax modeling
Smart Defaults: Translates simple inputs ("I have $500k") into tax-optimized account allocations
Couple Support: Automatic optimizations for spousal income splitting and survivor planning
Advanced Scenarios: Supports expense phases (Go-Go, Slow-Go, No-Go), defined benefit pensions, LIRAs, and custom allocation strategies
Prerequisites
Required:
Claude Desktop application (or another MCP-compatible AI client)
A NowCapital.ca API key (see below)
NOT Required (if using Quick Start method):
Python installation (uv manages this automatically)
Getting Your API Key
Web: Visit NowCapital.ca
Mobile: Install from Google Play Store
Navigate to API Access to generate an API key
Copy the key - you'll need it for configuration
API Key Types:
Demo/Free Keys: Includes basic retirement calculations (sustainable spending, detailed projections)
Premium Keys: Unlocks advanced features:
Monte Carlo simulations (risk analysis)
Additional income events (one-time windfalls, part-time work, etc.)
Custom expense phases (Go-Go, Slow-Go, No-Go spending patterns)
Need help? Contact support@nowcapital.ca
Installation
Choose one of the two methods below:
Method 1: Quick Start with uv (Recommended)
Why uv? uv is a fast Python package manager that automatically handles Python installation and dependencies. You don't need Python installed beforehand - uv takes care of everything.
Step 1: Install uv
Windows (PowerShell):
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Mac/Linux (Terminal):
curl -LsSf https://astral.sh/uv/install.sh | shStep 2: Download the Server Code
Option A - Using git:
git clone https://github.com/XmeleeLabs/mcp-server-nowcapital.gitOption B - Manual download:
Click "Code" → "Download ZIP"
Extract to a location you'll remember (e.g.,
C:\Projects\or~/Projects/)
Important: Note the full path to where you saved the code - you'll need it in the next step.
Step 3: Configure Claude Desktop
You need to tell Claude Desktop where to find this server by editing a configuration file.
Locate your config file:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Tips for finding the file:
On Windows: Press
Win+R, type%APPDATA%\Claude, press EnterOn Mac: In Finder, press
Cmd+Shift+G, paste the path aboveIf the file doesn't exist, create it as an empty JSON file:
{}
Add this configuration (replace the placeholders):
For Windows:
{
"mcpServers": {
"nowcapital-retirement": {
"command": "uv",
"args": [
"run",
"--with", "fastmcp",
"--with", "requests",
"python",
"C:\\Users\\YourName\\mcp-server-nowcapital\\server.py"
],
"env": {
"NOWCAPITAL_API_KEY": "your_api_key_here"
}
}
}
}For Mac/Linux:
{
"mcpServers": {
"nowcapital-retirement": {
"command": "uv",
"args": [
"run",
"--with", "fastmcp",
"--with", "requests",
"python",
"/Users/YourName/mcp-server-nowcapital/server.py"
],
"env": {
"NOWCAPITAL_API_KEY": "your_api_key_here"
}
}
}
}Configuration notes:
Replace the path with the absolute path to where you saved
server.pyWindows paths use double backslashes (
\\) or forward slashes (/)Replace
your_api_key_herewith your actual NowCapital.ca API keyIf the file already has other MCP servers, add this entry inside the
mcpServersobject
Step 4: Verify Installation
Restart Claude Desktop completely (quit and reopen, don't just close the window)
Check the MCP server status:
Click your profile icon in the bottom-left corner
Select Settings → Developer
Look for "nowcapital-retirement" - it should show status as "running"
If you see "error" or it's not listed, check the Troubleshooting section
Test it with this prompt:
I'm 60 years old with $800,000 in retirement savings.
How much can I safely spend per month in retirement?Claude should automatically use the retirement planning tools to provide detailed calculations including tax implications and government benefits.
Method 2: Manual Installation (Advanced)
Use this method if you prefer manual control or are already familiar with Python development.
Requirements:
Python 3.10 or higher
git (optional, for cloning)
Step 1: Clone and Setup
Windows (PowerShell):
git clone https://github.com/XmeleeLabs/mcp-server-nowcapital.git
cd mcp-server-nowcapital
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install -r requirements.txtMac/Linux (Terminal):
git clone https://github.com/XmeleeLabs/mcp-server-nowcapital.git
cd mcp-server-nowcapital
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtStep 2: Configure Claude Desktop
Edit your claude_desktop_config.json (locations above) and add:
Windows:
{
"mcpServers": {
"nowcapital-retirement": {
"command": "C:\\Users\\YourName\\mcp-server-nowcapital\\venv\\Scripts\\python.exe",
"args": [
"C:\\Users\\YourName\\mcp-server-nowcapital\\server.py"
],
"env": {
"NOWCAPITAL_API_KEY": "your_api_key_here"
}
}
}
}Mac/Linux:
{
"mcpServers": {
"nowcapital-retirement": {
"command": "/Users/YourName/mcp-server-nowcapital/venv/bin/python",
"args": [
"/Users/YourName/mcp-server-nowcapital/server.py"
],
"env": {
"NOWCAPITAL_API_KEY": "your_api_key_here"
}
}
}
}Replace both paths with your actual installation location and add your API key.
Step 3: Test the Server (Optional)
Before using with Claude, you can test the server directly:
Windows:
$env:NOWCAPITAL_API_KEY="your_api_key_here"
fastmcp dev server.pyMac/Linux:
export NOWCAPITAL_API_KEY="your_api_key_here"
fastmcp dev server.pyThis opens a test interface in your browser where you can verify the tools are working.
Example Usage
Once installed, you can ask Claude questions naturally. Claude will automatically determine which tools to use - you don't need to specify tool names.
Simple spending calculation:
I'm 55 with $600,000 saved. What's my maximum safe monthly retirement spending?Detailed projection:
Show me a year-by-year retirement plan for someone who is 60 with $800,000
in savings, planning to retire at 65.Specific target spending calculation:
I want to retire at 65 with $750,000 saved and spend exactly $4,000/month after tax. Show me my year-by-year cash flows and tell me if my savings will run out.Risk analysis (Premium feature):
I'm 65, have $850,000 saved, and plan to spend $4,500/month.
What are the chances my money will last through retirement?Note: Monte Carlo simulations require a Premium API key and take 5-15 seconds to complete.
Advanced scenarios (Premium features):
I'm 62 with $1M saved. Model my retirement with these phases:
- First 10 years: spending $5,000/month (active travel years)
- Next 10 years: reduce spending by 2% annually (slowing down)
- Remaining years: reduce by another 2% annually (staying home more)
Also, I'll receive a $50,000 inheritance at age 70.Note: Expense phases and additional income events require a Premium API key.
Exploring options:
What retirement planning parameters can I customize in my calculations?Default assumptions:
Monte Carlo simulations use FP Canada Baseline assumptions:
4.5% expected returns
2.3% inflation (CPI)
9% return volatility
1.2% inflation volatility
-0.05 correlation between returns and inflation
Troubleshooting
Server shows "error" status or isn't listed
First, try a complete restart:
Claude Desktop sometimes keeps background processes running even after you close the window. You need to fully terminate all Claude processes:
Windows:
Press
Ctrl+Shift+Escto open Task ManagerLook for any "Claude" processes in the list
Right-click each one and select "End Task"
Start Claude Desktop again
Mac:
Press
Cmd+Space, type "Activity Monitor", press EnterSearch for "Claude" in the process list
Select each Claude process and click the ⓧ button (Force Quit)
Start Claude Desktop again
Linux:
pkill -f claude
# Then restart Claude DesktopAfter killing all processes and restarting, check the status:
Click your profile (bottom-left) → Settings → Developer
Look for "nowcapital-retirement" - it should show "running"
If still not working:
Verify the config file location - Make sure you edited the correct file
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Check JSON syntax - Use a JSON validator (jsonlint.com) to verify your config
Common issues: missing commas, trailing commas, unescaped backslashes in Windows paths
Verify the path - Ensure the path to
server.pyis correct and absoluteWindows: Use either
C:\\path\\to\\fileorC:/path/to/fileTest the path: try opening the file directly to confirm it exists
Check Claude Desktop logs for specific error messages:
Mac:
~/Library/Logs/Claude/Windows:
%APPDATA%\Claude\logs\Look for the most recent log file and search for "nowcapital" or "error"
Claude says it can't access the tools
Verify your API key - Log into NowCapital.ca to validate the key (API Access)
Check your internet connection - The server needs to reach api.nowcapital.ca
Restart Claude Desktop - Completely quit and reopen the application
"Feature not available" or premium feature errors
If you see errors about Monte Carlo simulations, expense phases, or additional income events:
These are Premium features that require a Premium API key
Demo/Free keys only support basic calculations (sustainable spending and detailed projections)
Upgrade your API key at NowCapital.ca to unlock these features
"Module not found" errors (Manual installation)
Make sure you activated the virtual environment before running:
Windows:
.\venv\Scripts\Activate.ps1Mac/Linux:
source venv/bin/activate
Path issues on Windows
If your path has spaces, ensure the entire path is properly escaped in JSON. Consider moving the server to a path without spaces (e.g., C:\Projects\).
Advanced: HTTP Server Mode
For integration with other AI clients like Gemini or AnythingLLM, you can reach the NowCapital.ca MCP servers via HTTP mode.
Gemini CLI Configuration
Edit your Gemini settings file:
Mac/Linux:
~/.gemini/settings.jsonWindows:
%USERPROFILE%\.gemini\settings.json
Add:
{
"mcpServers": {
"nowcapital-retirement": {
"httpUrl": "https://mcp.nowcapital.ca/mcp",
"headers": {
"X-API-Key": "your_api_key_here"
}
}
}
}AnythingLLM Configuration
{
"mcpServers": {
"nowcapital-retirement": {
"type": "streamable",
"url": "https://mcp.nowcapital.ca/mcp"
}
}
}For Gemini and AnythingLLM, include your API key in the request headers or provide the API KEY in your prompt.
Support & Community
Need help?
📧 Email: support@nowcapital.ca
🎥 YouTube: @NowCapital-ca
📘 Facebook: NowCapital
📷 Instagram: @nowcapital.ca
Found a bug or have a feature request? Open an issue on GitHub
Privacy & Security
Your API key is stored locally in the Claude configuration file
Retirement calculations are performed on NowCapital.ca servers
No financial data is stored by this MCP server
All communication uses HTTPS encryption
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/XmeleeLabs/mcp-server-nowcapital'
If you have feedback or need assistance with the MCP directory API, please join our Discord server