Compound Interest Calculator
Repository to test MCP server functionality
Overview
The Compound Interest Calculator is a web-based tool designed to help users understand the growth of their investments over time by calculating compound interest with options for monthly contributions.
- Enter your initial investment amount in the "Initial Principal" field.
- Input your planned monthly contribution.
- Set your expected annual interest rate (as a percentage).
- Click "Calculate Returns" to view your investment growth projection.
- Calculates compound interest including monthly investments. - Provides a 30-year investment projection. - Offers detailed year-by-year breakdowns of investment growth showing principal, interest earned, and total balance. - User-friendly interface with responsive design. - Real-time calculations displayed in a clear format.
- Estimating future investment growth for retirement planning.
- Understanding the impact of monthly contributions on compound interest.
- Comparing different investment strategies using varying rates and contributions.
Add to your AI client
Use these steps to connect Compound Interest Calculator in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"test-jamespptsr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-test-jamespptsr"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"test-jamespptsr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-test-jamespptsr"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"test-jamespptsr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-test-jamespptsr"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"test-jamespptsr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-test-jamespptsr"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"test-jamespptsr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-test-jamespptsr"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"test-jamespptsr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-test-jamespptsr"
]
}
}
}