Hilan MCP logo

Hilan MCP

Retrieves Hilan payslips and Form 106 documents, stores encrypted local data, and exposes salary analysis through MCP tools.

Install Hilan MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hilan-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hilan-mcp"
      ],
      "env": {
        "COMPANY_URL": "YOUR_VALUE_HERE",
        "COMPANY_TENANT": "YOUR_VALUE_HERE",
        "COMPANY_CODE": "YOUR_VALUE_HERE",
        "HILAN_DB_KEY": "YOUR_VALUE_HERE",
        "NODE_EXTRA_CA_CERTS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 11 tools correctly ().

Overview

The hilan-mcp MCP server connects AI assistants to Hilan and Hilanet employer portals for payslips and Form 106 documents. It uses a headless Chromium session with Playwright to authenticate, then calls Hilan's internal endpoints and downloads PDFs through that authenticated context. Synced records are stored in an encrypted local SQLite database, where read-only SQL and salary trend calculations can run without another network request. Use it when you need to retrieve, inspect, or analyze Hilan payroll data from an MCP-compatible assistant.

Use cases

  • Sync recent Hilan payslips and their PDFs
  • Download a yearly Form 106 document
  • Compare annual salary averages and raises
  • Query stored payroll data with read-only SQL
  • Combine payslips into one month-range PDF

Key features

  • Hilan tenant login through Playwright Chromium
  • Structured payslip data with PDF downloads
  • Form 106 retrieval by year
  • Encrypted local SQLite storage
  • Local salary trend calculations
  • Read-only SQL access to synchronized data

Tools11

What Hilan MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 82d

What it can do

From the 11 tools this server returned when we ran it.

Runs commands · 1Handles credentials · 4Makes network requests · 3Read-only tools · 10
Network at startup3 connections
Files written at startup1
Install scriptsNone
npm provenanceSigned build
Package age81 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · hilan-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads570Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed11Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Hilan MCP works

What hilan-mcp MCP server does

The hilan-mcp MCP server retrieves payroll information from Hilan, also known as Hilanet or חילן/חילנט, for configured employer tenants. It can collect structured payslip fields and their PDFs, download annual Form 106 PDFs, and produce one combined PDF for a selected month range. Data is kept locally in an encrypted SQLite database so later analysis can use synchronized records rather than contacting Hilan for every question.

The server supports multiple tenants. During credential setup, it inspects the selected tenant's login form instead of assuming that every employer uses the same fields. A tenant can be identified by a subdomain, a full company URL, or a numeric organization code.

How it works

Because Hilan does not provide an official API, the server launches a real headless Chromium browser through Playwright. After login, it reuses the authenticated browser context to call Hilan's internal .asmx JSON endpoints and retrieve PDF files. This preserves the cookies and headers established by the normal page load.

The local database uses SQLCipher-backed SQLite. Its encryption key is not written to disk in plaintext. The key can be stored in the operating system credential store, including macOS Keychain, Windows DPAPI, or Linux Secret Service, or supplied through HILAN_DB_KEY.

Setup and configuration

Run setup in your own terminal rather than entering Hilan credentials into an assistant conversation:

Terminal
npx hilan-mcp setup --tenant <subdomain-or-organization-code>

The setup flow installs the required Chromium browser, detects the tenant's login fields, prompts for credentials, and initializes the database encryption key. npx hilan-mcp setup-key can store that key in the operating system credential store for unattended server startup.

With no command-line arguments, the package starts an MCP server over stdio. A client can launch it with npx -y hilan-mcp. COMPANY_URL, COMPANY_TENANT, or COMPANY_CODE can provide a default tenant, in that priority order. NODE_EXTRA_CA_CERTS is available for networks using a TLS-intercepting corporate proxy.

Tools and capabilities

  • listTenants shows configured tenants without exposing secrets.
  • syncPayslips retrieves structured data and PDFs for the last requested number of months.
  • resyncPayslipMonth refreshes one month and replaces its stored data.
  • syncForm106 downloads a Form 106 PDF for a specified year.
  • downloadCombinedPayslipsPdf creates a PDF covering a month range.
  • getSalaryTrends calculates annual averages, year-over-year percentages, CAGR, and notable raises locally.
  • listTables describes the local queryable schema.
  • query runs read-only SQL against stored payslip and Form 106 data.
  • getPersonalDetails performs a live lookup without persisting the result.
  • dismissUpdateNotice suppresses a particular version's update notice.
  • debugCallAsmx provides raw endpoint exploration and is disabled by default.

Limitations and notes

The server depends on Hilan's web login flow and internal endpoints, so changes to that service may affect retrieval. Questions about a month can be answered locally only after that month has been synchronized. The database key must be available through the credential store, HILAN_DB_KEY, or an interactive fallback; the latter requires a human response and is not suitable for normal unattended use. Native dependency installation may require allowing the better-sqlite3-multiple-ciphers install script on npm 12 or newer.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hilan MCP

hilan-mcp is an MCP server that connects AI assistants to Hilan and Hilanet employer portals. Its main tools sync structured payslips and PDFs, download Form 106 files, query encrypted local payroll data with read-only SQL, calculate salary trends, and retrieve personal details through a live lookup.

Install and initialize it with `npx hilan-mcp setup --tenant <subdomain-or-code>` in your own terminal. The command installs Playwright's Chromium browser, detects the tenant login form, prompts for credentials, and initializes encrypted local storage.

Set `COMPANY_URL`, `COMPANY_TENANT`, or `COMPANY_CODE` in the MCP server environment, in that priority order. An explicit tenant supplied to setup or a tool call takes precedence over these defaults.

No. The database encryption key is not written to disk in plaintext, and credentials are entered during local setup. The key can be stored in the operating system credential store or supplied through `HILAN_DB_KEY`.

Yes, after the relevant data has been synchronized. The `query` tool runs read-only SQL against the local payslip and Form 106 database, while `getSalaryTrends` computes analysis locally.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHilan MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hilan-mcp?style=directory)](https://allmcps.com/mcp/hilan-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hilan-mcp"><img src="https://allmcps.com/api/badge/hilan-mcp?style=directory" alt="Hilan MCP on AllMCPs" /></a>