Finance MCP Tools for AI Agents

Your financial advisor agent calculates monthly loan payments and gets a number that's $12 off. For a 30-year mortgage, that error compounds to over $4,300. Financial calculations demand precision — these tools deliver it.

All Finance Tools (15)

Your agent gets access to 15 finance tools via the /mcp/finance/ endpoint. Here's the complete list:

ToolDescription
finance/compound-interestCompound Interest
finance/simple-interestSimple Interest
finance/loan-paymentLoan Payment
finance/tipCalculate Tip
finance/percentage-changePercentage Change
finance/markupCalculate Markup
finance/marginCalculate Margin
finance/discountCalculate Discount
finance/vatCalculate Vat
finance/mortgageMortgage Calculator
finance/rule-of-72Rule Of 72
finance/future-valueFuture Value
finance/present-valuePresent Value
finance/break-evenBreak Even
finance/roiReturn On Investment

Agent Scenarios

Here's how real agents use these tools:

1. Mortgage calculator agent

A real estate agent calculates monthly mortgage payments with exact amortization.

Tool Call: finance/loan-payment
{ "principal": 300000, "annual_rate": 6.5, "years": 30 }

2. Investment analysis agent

A portfolio agent computes compound interest projections for retirement planning.

Tool Call: finance/compound-interest
{ "principal": 10000, "rate": 7, "years": 20 }

3. Business valuation agent

A CFO agent calculates NPV of future cash flows for investment decisions.

Tool Call: finance/npv
{ "rate": 10, "cashflows": [-100000, 30000, 35000, 40000, 45000] }

MCP Setup

Add finance tools to your agent in under 2 minutes. Choose your client:

Claude Desktop / Claude Code

Add this to your MCP config:

{
  "mcpServers": {
    "tinyfn-finance": {
      "url": "https://api.tinyfn.io/mcp/finance/",
      "headers": {
        "X-API-Key": "your-api-key"
      }
    }
  }
}

Cursor

Go to Settings > MCP and add a new server:

  • Type: SSE
  • URL: https://api.tinyfn.io/mcp/finance/sse
  • Headers: X-API-Key: your-api-key

Tip: Use the category-specific endpoint (/mcp/finance/) for the best experience. The all-in-one endpoint (/mcp/all/) works too but has 500+ tools which some clients handle less efficiently.

When to Use These Tools

Use finance MCP tools when your agent needs to:

  • Guarantee correctness — when wrong answers have real consequences
  • Process user data — when you're operating on actual user input, not hypothetical examples
  • Maintain consistency — when the same input must always produce the same output

You don't need these tools for casual conversation or rough estimates. Use them when precision matters.

Ready to add finance tools to your agent?

Get Free API Key 100 requests/month free. No credit card required.

Frequently Asked Questions

Why are financial calculation errors dangerous?

Financial calculation errors compound over time. A small error in an interest rate calculation or payment amount can lead to significant discrepancies over the life of a loan or investment.

What financial calculations does TinyFn support?

TinyFn provides compound interest, simple interest, loan payment calculation, NPV (net present value), ROI, currency formatting, and other financial utilities.

How precise are financial calculations?

TinyFn uses appropriate decimal precision for financial calculations, avoiding floating-point errors that can occur with standard floating-point arithmetic.

Ready to try TinyFn?

Get your free API key and start building in minutes.

Get Free API Key