TartanHQ Logo – Powering Seamless Enterprise Workflows with APIs and AI

Product & Engineering

Product & Engineering

HRIS MCP Server: Connect HR and Payroll Data to Claude, Cursor and VS Code

HRIS MCP Server: Connect HR and Payroll Data to Claude, Cursor and VS Code

HRIS MCP Server: Connect HR and Payroll Data to Claude, Cursor and VS Code

Rohan Mahajan

Rohan Mahajan

10 Min

10 Min

Build Connected Systems with Tartan

Automate workflows with integrated data across your customer applications at scale

Your agent needs employee data. It might be verifying a borrower, checking benefits eligibility or answering a payroll question. The model is ready. The data sits in an HRIS, and your customers' employers run dozens of different ones.

You can write a connector for each. Or you can point your agent at one MCP server that already speaks all of them.

This guide covers what HyperSync MCP exposes, how to connect it to Claude, Cursor, Windsurf and VS Code, and the call patterns that keep agents accurate.

Why not build HRIS integrations one by one?

The first integration is easy. The tenth is where the cost shows, because every HRIS models the same concept differently.

  • Ambiguous fields. A field labelled BankCode might be a routing number, a branch code or a sort code, depending on the provider and the country.

  • Hand-entered pay items. Some payroll systems store items such as "other deductions" or "annual compensation" as free-form entries, not component-level fields. Treat them as structured and your totals drift.

  • Different shapes for the same record. One provider stores an address in a single line; another splits it across three fields; a third keeps home and mailing addresses behind separate APIs.

  • Uneven write support. Some providers are mostly read-only. Others expose many update endpoints. Your agent has to know which is which before it promises anything.

Each of these is a bug waiting in your agent's output. A model will confidently report a routing number that is actually a branch code. HyperSync handles this mapping once, across 76 HRIS, payroll, ERP and SSO integrations, and exposes the result through one schema: the Tartan Unified Schema.

Architecture: synced store, not live calls

HyperSync MCP runs through the Tartan MCP Gateway, a thin, stateless service built on FastMCP over Streamable HTTP. Data flows like this:

HRIS connector sync → Tartan Unified Schema storage → HyperSync MCP tools → your LLM client

Tools read from HyperSync's synced, normalized store rather than calling each HRIS live. That matters for agents. Live calls on every tool invocation are slow, inconsistent across providers and fragile under rate limits. A synced store gives you predictable latency and one response shape whichever provider the data came from.

The trade-off is freshness. The API is explicit about it, and the call patterns below show how to handle it.

Tools available today

Tool

What it does

Scope

platform_get_status

Gateway health; no backend needed

none

hypersync_list_connectors

Lists HRIS connectors for the tenant. Start here to get a connector_id

read

hypersync_get_connector

Details of one connector: approval state, sync config, domains

read

hypersync_get_connector_capabilities

Which actions a connector supports

read

hypersync_get_sync_status

Freshness and last successful sync

read

hypersync_get_employee_salary_details

Earnings, bonuses, deductions, annual compensation and net pay for a known employee

read + salary.read

Coming next: employee directory search (filter by department, title, status, hire date), employee document listing (pay stubs, tax forms, contracts), mapping explainability ("which source field maps to grossPay?") and controlled write actions with server-side validation.

Connecting your client

The gateway is an OAuth 2.1 resource server. Every request carries a bearer token, which the gateway verifies before any tool runs. It serves standard protected-resource metadata at /.well-known/oauth-protected-resource/mcp, so compliant clients can discover how to authenticate.

For clients that take a remote server URL and headers, the config looks like this (Cursor shown; Windsurf and VS Code use the same shape in their own config files):

{

  "mcpServers": {

    "hypersync": {

      "url": "https://<your-endpoint>/mcp",

      "headers": {

        "Authorization": "Bearer <your-hypersync-token>"

      }

    }

  }

}

In Claude, add HyperSync as a custom connector using the same endpoint. Client-specific steps are in the HyperSync MCP README.

To smoke-test from a terminal:

curl -sS -X POST "https://<your-endpoint>/mcp" \

  -H "Authorization: Bearer $TOKEN" \

  -H "Content-Type: application/json" \

  -H "Accept: application/json, text/event-stream" \

  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hypersync_list_connectors","arguments":{"status":"active"}}}'

A 401 means the token failed verification. A 403 insufficient_scope means the token is valid but lacks a permission, most often salary.read on the pay tool.

Call patterns that keep agents accurate

1. Discover, check freshness, then fetch. The intended order is hypersync_list_connectors → hypersync_get_sync_status → data tools. Put it in your system prompt. An agent that skips the sync check will present week-old data as current.

2. Check capabilities before acting. Call hypersync_get_connector_capabilities before your agent promises a user anything provider-specific. This matters more once write tools ship.

3. Read the envelope, not just the data. Every tool returns the same structure:

{

  "success": true,

  "data": {},

  "warnings": [],

  "errors": [],

  "source": {

    "provider": "<provider>",

    "connector_id": "conn_123",

    "sync_run_id": "sync_456",

    "last_synced_at": "datetime"

  }

}

Check success first. On failure, branch on errors[].code rather than parsing messages. Show warnings to the user. Have your agent cite source.provider and last_synced_at in any answer that contains a number.

4. Always pass a date range for pay. Pay data is date-based and sensitive, so it has its own tool with from_date, to_date and an include_history flag. When a prompt is ambiguous ("what do they make?"), the agent should ask which period, not guess.

What builders use it for

Borrower onboarding agents. Verify employer, income and deductions during a loan application instead of asking for pay stub uploads.

Benefits and insurance eligibility. Check compensation bands and existing payroll deductions before recommending coverage or a contribution level.

Payroll copilots for HR teams. Answer "what was this employee's gross pay last month, and why is net lower than the month before?" with component-level data.

Internal ops agents at financial institutions. Give verification teams an assistant in Claude that cites its source on every answer.

FAQ

Which HRIS and payroll providers are supported? Any system connected through HyperSync's 76 integrations, including [confirmed US providers]. Call hypersync_list_connectors to see what is live for your tenant.

Is it read-only? Yes, today. Write actions are planned with mandatory validation, dry_run on by default and confirmation tokens.

Does it work with agents I build on the API, not just IDEs? Yes. Any client that speaks MCP over Streamable HTTP can connect.

How are pay components represented across providers? As separate earnings, bonus, deduction and annual compensation groups in one schema. See Normalizing Payroll Data for LLMs

CTA: See income verification run inside Claude. Book a HyperSync MCP walkthrough →

One platform. Across workflows.

One platform. Across workflows.

Tartan helps teams integrate, enrich, and validate critical customer data across workflows, not as a one-off step but as an infrastructure layer.

Tartan helps teams integrate, enrich, and validate critical customer data across workflows, not as a one-off step but as an infrastructure layer.

Tartan helps teams integrate, enrich, and validate critical customer data across workflows, not as a one-off step but as an infrastructure layer.