Skip to main content
Every Squirrels project has an MCP server running at /mcp automatically. Thus, AI tools that support the Model Context Protocol can be used to ask questions about the datasets configured in a Squirrels project. To make it easy for anyone to follow along, we will use the following MCP server URL for a mortgage analytics Squirrels project that is publicly accessible.
https://mortgage-squirrels-example.duckdns.org/mcp
You can replace this URL with the MCP server URL for your own Squirrels project when working with this guide (such as http://localhost:4465/mcp).

MCP clients

Choose which AI tool you want to use to interact with your Squirrels project.
  • Claude Desktop
  • Claude Code
  • Cursor
  • VS Code / GitHub Copilot
Prerequisites:Steps:
  1. Open Claude Desktop.
  2. Click your name in the lower left corner, then click Settings.
  3. Click Developer under “Desktop app”. Claude Desktop Settings
  4. Click the Edit Config button. This opens the file location of claude_desktop_config.json.
  5. Open claude_desktop_config.json in a text editor, and paste in the following:
{
  "mcpServers": {
    "mortgage-analytics": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", 
        "https://mortgage-squirrels-example.duckdns.org/mcp"
      ]
    }
  }
}
  1. Save the file and exit Claude Desktop (this is different than closing the window).
  • To exit Claude Desktop on Windows, click the menu icon on the top left corner and then click File -> Exit
  1. Open Claude Desktop again. You should now see the Squirrels project enabled by clicking the “search and tools” icon below the chat input. Claude Desktop Tools Menu
  2. Ask questions about the datasets in the Squirrels project. See the section below for example prompts.

Example prompts

The following are sample prompts that can be used for any Squirrels project when interacting with an AI chat agent:
What datasets do you have access to?
What tools do you have access to?
The following are sample prompts specific to the mortgage analytics Squirrels project:
Suppose I have a 500K loan amount at 5% mortgage rate for 20 years remaining. What would be the monthly mortgage payment?
Suppose I have a 500K loan amount at 5% mortgage rate for 20 years remaining. Should I pay off the full 500K now, or keep the mortgage and invest it in the stock market instead? Run 1000 simulation trials to answer.