deephr-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@deephr-mcpshow me all employees in the engineering department"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
deephr-mcp
Read-only MCP server exposing deepHR's modules to MCP clients (Claude Desktop /
Claude Code). It proxies read calls to the deepHR backend /api/* over HTTP,
authenticating with a service account and refreshing the JWT on 401.
Install (clients)
No clone needed — run it straight from GitHub with npx:
claude mcp add deephr -s user \
-e DEEPHR_API_URL=https://deephr.your-cloud-domain.com \
-e DEEPHR_EMAIL=you@yourco.com \
-e DEEPHR_PASSWORD=... \
-- npx -y github:leevydanomalik/deephr-mcp(If/when published to npm, swap the last line for npx -y deephr-mcp.)
-s user makes it global (available in every project on that machine). Each user
only changes DEEPHR_API_URL (the deployed backend) and their own login. Needs
Node >= 18.
Related MCP server: OCP AI Custom HR MCP Server
Updating to a new release
The config tracks the main branch, so a new release is just a new commit here.
Two things to know when pulling an update:
npx caches git installs. Reconnecting the MCP server re-runs the
npxcommand, but npx may relaunch a cached older build instead of re-fetchingmain. To guarantee you get the latest, clear the cache first, then reconnect:rm -rf ~/.npm/_npx # drop npx's cached git installs(Alternatively pin a commit —
npx -y github:leevydanomalik/deephr-mcp#<sha>— for a deterministic install, at the cost of editing config each release.)The backend must have the routes too. This server only proxies; new tools call new
/api/*endpoints. The backend at yourDEEPHR_API_URLmust be running a version that has them, or the new operations return 404. Updating the MCP client alone is not enough.
Run (local dev)
DEEPHR_EMAIL=svc@yourco.com DEEPHR_PASSWORD=... bun run src/server.tsThe backend must be running (default http://localhost:4445).
Build & publish (maintainers)
bun run build # bundles src/ -> dist/server.js (node ESM, shebang, npx-runnable)
npm publish # prepublishOnly runs the build automaticallydeephr-mcp is an unscoped public package — npm login once, then npm publish.
Env
Var | Default | Purpose |
|
| Backend base URL |
| (required) | Service-identity login (use an admin/superadmin account) |
| (required) | Service-identity password |
Register in Claude Code / Desktop
{
"mcpServers": {
"deephr": {
"command": "bun",
"args": ["run", "/ABSOLUTE/PATH/deepHR/mcp/src/server.ts"],
"env": {
"DEEPHR_API_URL": "http://localhost:4445",
"DEEPHR_EMAIL": "svc@yourco.com",
"DEEPHR_PASSWORD": "..."
}
}
}
}Tools
~16 facade tools (deephr_payroll, deephr_employees, …). Each takes
{ operation, params }. See a tool's description for its operation catalog.
Maintaining the registry
Routes are scanned from backend/src/app/api:
bun run scan # regenerates src/registry/<facade>.ts + index.tsHand-tune hot operations (better summaries, real query schemas) in
src/registry/annotations.ts — that layer survives re-scans.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Public, read-only MCP server for FarmNeural company facts, packages, and capabilities.
Read-only MCP server: let AI agents read your ORANO saved-video library, tasks, and memory.
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Related MCP Servers
- AlicenseBqualityDmaintenanceRead-only MCP server for the Humaans HRIS API, providing tools to query people, reporting chains, compensation, time away, and more.33MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for interacting with an HR database, enabling querying employee data and HR operations via natural language.-
- FlicenseAqualityCmaintenanceRead-only MCP server for the Tipsoi HRM API, exposing 15 tools to read employee data, attendance, leave, overtime, and more.15-
- AlicenseAqualityDmaintenanceA read-only MCP server for BambooHR that enables safe AI assistant access to employee records, time-off, files, and directories via natural language queries.10MIT