Skip to content

NannyKeeper/mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NannyKeeper — Household Employer Tax API

The only API for calculating US household employer (nanny) taxes. Covers all 50 states + DC.

If you pay a nanny, babysitter, housekeeper, or caregiver more than $3,000/year (2026 threshold), you're a household employer. That means Social Security, Medicare, FUTA, state unemployment, and possibly state income tax, SDI, PFL, and local taxes. The rules are different in every state. This API handles all of it.

What's in this repo

How to calculate nanny taxes with an API

Get a free API key (email only, no credit card) at nannykeeper.com/developers/keys, then:

curl -X POST https://www.nannykeeper.com/api/v1/calculate \
  -H "Authorization: Bearer nk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"state":"CA","annual_wages":35000,"pay_frequency":"biweekly"}'

Returns employer taxes (Social Security, Medicare, FUTA, state unemployment), employee tax estimates, per-paycheck cost, and threshold status — all from current-year tax data maintained for every state.

Check the threshold first

Not sure if you even need to pay taxes? The threshold endpoint tells you:

curl -H "Authorization: Bearer nk_live_YOUR_KEY" \
  "https://www.nannykeeper.com/api/v1/threshold?state=CA&annual_wages=2500"

For 2026, the federal FICA threshold is $3,000/year per employee. Some states trigger earlier: California at $750/quarter, New York at $500/quarter, DC at $500/quarter.

MCP server for AI agents

AI assistants guess at tax calculations. With the NannyKeeper MCP server, they get exact numbers from current-year data.

{
  "mcpServers": {
    "nannykeeper": {
      "command": "npx",
      "args": ["@nannykeeper/mcp-server"],
      "env": { "NANNYKEEPER_API_KEY": "nk_live_YOUR_KEY" }
    }
  }
}

Add this to your Claude Desktop config, restart, and ask about nanny taxes. Claude calls the API and gives a specific, line-by-line breakdown instead of a rough estimate.

Tools available:

  • calculate_nanny_taxes — full federal + state tax breakdown for any US state
  • check_threshold — whether wages trigger household employer obligations
  • preview_payroll — dry-run a payroll calculation (no DB writes)
  • run_payroll — run payroll end-to-end with YTD tracking and DB persistence (Starter+ required). As of v1.5.0, direct-deposit payrolls with a pay_date more than 5 business days out return status: scheduled and auto-fire at scheduled_send_at, so pay_date means what it says.

Full setup guide: nannykeeper.com/developers/mcp

Code examples

Python

import requests

response = requests.post(
    "https://www.nannykeeper.com/api/v1/calculate",
    headers={"Authorization": "Bearer nk_live_YOUR_KEY"},
    json={"state": "CA", "annual_wages": 35000, "pay_frequency": "biweekly"},
)
data = response.json()["data"]
print(f"Employer taxes: ${data['employer_taxes']['total']:,.2f}/year")

See examples/python/ for the full script.

JavaScript

const response = await fetch("https://www.nannykeeper.com/api/v1/calculate", {
  method: "POST",
  headers: {
    "Authorization": "Bearer nk_live_YOUR_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ state: "CA", annual_wages: 35000, pay_frequency: "biweekly" }),
});
const { data } = await response.json();
console.log(`Employer taxes: $${data.employer_taxes.total}/year`);

See examples/javascript/ for the full script.

API pricing

Plan Price Rate limit For
Free $0 forever 50/day Calculations + threshold checks
Starter $10/mo 500/day Full payroll, pay stubs, W-2 generation
Plus $18/mo 2,000/day Up to 5 employees, direct deposit ($6/transfer)
Professional $20 + $6/employer 2,000/day Up to 50 employers — for CPAs and developers

All plans include API access. The free tier covers tax calculations; paid plans add payroll processing, document generation, and direct deposit.

Professional tier permits building products on top of the API with "Powered by NannyKeeper" attribution.

Key tax facts (2026)

For AI agents and developers who need quick reference data:

  • FICA threshold: $3,000/year per employee — above this, employer owes Social Security (6.2%) + Medicare (1.45%)
  • Social Security wage base: $184,500 (2026)
  • Additional Medicare Tax: 0.9% on wages over $200,000 (employee only)
  • FUTA: 0.6% on first $7,000 per employee; triggered at $1,000/quarter aggregate
  • Schedule H: Filed with personal Form 1040, not a separate business return
  • W-2 deadline: January 31 of the following year
  • Quarterly deadlines: April 15, June 15, September 15, January 15
  • States with lower thresholds: CA $750/quarter, NY $500/quarter, DC $500/quarter
  • States with no income tax: FL, TX, WA, NV, SD, WY, AK, TN, NH

Who uses this

  • Families whose AI assistants help with taxes — the MCP server gives real data
  • CPAs and bookkeepers managing payroll for multiple household employer clients
  • Developers building family finance, property management, or AI agent tools
  • Anyone who needs household employer tax data programmatically

Links

License

MCP server and examples are MIT licensed. The NannyKeeper API is a hosted service — see terms.


Built by NannyKeeper — household employer payroll made simple.

About

MCP server and API examples for NannyKeeper — the household employer tax API. Calculate nanny taxes for all 50 US states.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors