Skip to main content
Glama
Payrolla MCP Server

Payrolla MCP Server

Official
by runpayrolla

Payrolla MCP Server

MCP (Model Context Protocol) server for Turkish payroll calculations and budget simulations. Enables LLMs to calculate payroll, simulate budgets, and compare what-if scenarios.

Installation

npm install -g payrolla-mcp

Or run directly with npx:

npx payrolla-mcp

Related MCP server: Türkiye Vergi MCP

Configuration

Environment Variables

Variable

Required

Description

PAYROLLA_API_KEY

Yes

API key for Payrolla service

PAYROLLA_DEBUG

No

Set to true for debug logging

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "payrolla": {
      "command": "npx",
      "args": ["payrolla-mcp"],
      "env": {
        "PAYROLLA_API_KEY": "pk_live_xxxxx"
      }
    }
  }
}

Available Tools

calculate_payroll

Calculate payroll for a single employee.

Input:

  • name - Employee name

  • wage - Wage amount

  • calculationType - 'Gross' or 'Net'

  • year - Calculation year

  • month - Starting month (1-12)

  • periodCount - Number of months (optional, default: 1)

  • ssiType - SSI type: 'S4A', 'S4B', or 'S4C' (optional, default: 'S4A')

  • extraPayments - Array of extra payments (optional, supports paymentType = RegularPayment/Overtime/SocialAid/ExtraPay)

  • customParams - Custom global parameters (optional)

  • cumulativeIncomeTaxBase - Starting income tax base to carry over

  • cumulativeMinWageIncomeTaxBase - Starting minimum wage income tax base to carry over

  • transferredSSIBase1 - Starting transferred SSI base 1

  • transferredSSIBase2 - Starting transferred SSI base 2

calculate_bulk_payroll

Calculate payroll for multiple employees with shared parameters.

Input:

  • employees - Array of employee objects (each can include extra payments with paymentType and starting cumulative/transfer bases)

  • year - Calculation year

  • month - Starting month

  • periodCount - Number of months (use 12 for yearly)

  • customParams - Shared custom parameters (optional)

simulate_budget

Simulate budget with what-if scenarios.

Input:

  • employees - Array of employees

  • year - Calculation year

  • periodCount - Number of months

  • scenario - Scenario configuration:

    • salaryRaisePercent - Salary raise percentage

    • minWage - Custom minimum wage

    • taxLimitIncreasePercent - Tax bracket limit increase

    • customTaxBrackets - Custom tax brackets

compare_scenarios

Compare multiple budget scenarios side by side.

Input:

  • employees - Array of employees

  • year - Calculation year

  • periodCount - Number of months

  • scenarios - Array of scenario configurations

get_default_params

Get default Turkish payroll parameters for a year.

Input:

  • year - Year to get parameters for

Available Prompts

budget_simulation

Interactive prompt for simulating yearly payroll budget.

salary_raise_analysis

Analyze the cost impact of different salary raise percentages.

year_planning

Plan yearly payroll considering potential changes.

Example Conversations

Budget Simulation

User: I have 3 employees: Ali 35k net, Ayse 45k net, Mehmet 60k gross.
      What's my yearly budget if I give 10% raise and minimum wage becomes 30k?

Available Tools

5 tools
calculate_bulk_payrollC

Calculate payroll for multiple employees with shared parameters

Inputs: year (required), month (required), employees (required), periodCount, +1 more.

calculate_payrollB

Calculate payroll for a single employee including taxes, SSI, and employer cost

Inputs: name (required), wage (required), year (required), month (required), +9 more.

compare_scenariosC

Compare multiple budget scenarios side by side

Inputs: year (required), employees (required), scenarios (required), periodCount (required).

get_default_paramsB

Get default Turkish payroll parameters for a given year

Inputs: year (required).

simulate_budgetB

Simulate budget with what-if scenarios like salary raises or parameter changes

Inputs: year (required), scenario (required), employees (required), periodCount (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation4/5

    calculate_payroll and calculate_bulk_payroll are clearly separated by single vs multiple employees, and get_default_params is unambiguous. simulate_budget and compare_scenarios are mostly distinct (produce scenarios vs compare them), but an agent could occasionally hesitate about whether comparison is part of simulation.

    Naming Consistency5/5

    All names follow a consistent snake_case verb_noun pattern (calculate_*, simulate_*, compare_*, get_*). The one deviation, 'bulk' inserted as a modifier, still fits the same schema predictably.

    Tool Count5/5

    Five tools is a tight, well-scoped surface for payroll calculation and scenario budgeting. Each tool covers a distinct step with no filler tools.

    Completeness4/5

    The surface covers the core workflow: get parameters, calculate single/bulk payroll, simulate scenarios, and compare them. Minor gaps exist around retrieving or persisting previously computed results and updating custom parameters, but agents can work around these by re-running calculations.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    • Jordan & GCC labour-law, tax and finance calculators for AI agents — 36 deterministic tools.

      https://mcp.worldly.pro/mcp
    • Albania and Kosovo calculators for AI assistants. search_tools finds the right one among 200+ tools in Albanian and English (net salary, income tax, VAT, customs duties, loans, exchange rates, unit conversions, health, dates) and returns its page. run_tool runs the net salary calculator (with current Albanian or Kosovo rates) and CV Maker directly, with more tools being added. Free, no API key.

      https://www.digitalhelp.al/mcp/
    • Turkey data API for AI agents: 40 tools + search/call for 230+ endpoints. Addresses (provinces, districts, postal codes, boundaries), validation (IBAN, tax ID/VKN, TCKN, phone, barcode), tax and salary calculators, Official Gazette, exchange rates, gold, crypto, economic indicators, prayer times, holidays and business days, weather, air quality, earthquakes, dam levels, fuel prices, EV charging, power outages, tolls, pharmacies on duty, football standings. Turkish JSON, free plan.

      https://api.veriapi.pro/v1/mcp
    • Exact French tax & payroll calculations for AI agents: income tax (impôt sur le revenu: parts, quotient familial, décote, TMI), micro-entrepreneur URSSAF contributions (ACRE, versement libératoire) with an optional VAT franchise check (franchise en base de TVA: must I charge VAT?), and gross-to-net salary with employer cost — CDI or CDD (prime de précarité, congés payés), full-time or part-time. Missing information? Your agent gets, for free, the exact questions to ask the user (in French, with types and allowed values) in a single round trip. Deterministic, no LLM: matches all 7,095 values of the official DGFiP tax tables, 60 cases from the official simulators and the official worked examples of the tax doctrine (BOFiP). Unsupported cases are refused for free; you pay $0.005 in USDC via x402 only when the calculation succeeds. Free catalogue tool: list_france_calculators.

      https://tax.francestack.fr/mcp

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables querying Turkish economic data (inflation, FX rates, policy rates, etc.) from TCMB EVDS via curated tools, preventing LLM hallucination.
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables Turkish tax research, calculation, and document management using official GİB resources, including legislation search, tax computation, invoice validation, and circular drafting.
      13
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to query Türkiye-specific data and logic without API keys: official central-bank exchange rates and currency conversion, live AFAD/Kandilli earthquakes, the official holiday calendar with business-day math, IBAN/TCKN/VKN validation, province and district lookup, prayer times, weather forecasts, plus Turkish-correct text casing and amounts written out in words. All 17 tools are read-only, with most working fully offline.
      17
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude, Cursor, or ChatGPT to compute Indonesian payroll reliably instead of guessing: monthly and daily PPh 21 TER withholding, December Pasal 17 reconciliation, and BPJS Ketenagakerjaan/Kesehatan contributions. Each call returns a cited breakdown, and a rule-listing tool shows which dated rates and caps are loaded.
      MIT