Summary
Factorial HR from any AI agent: the employee directory with profiles, contracts and roles, teams and their leaders, time-off and leave requests, and clocked attendance shifts. Read-only, with a company API key.
Guided setup
Connect Factorial HR to Cursor in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Factorial HR in the guided setup, then add your MCP URL to Cursor. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Factorial HR
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Factorial HR, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Factorial HR + Cursor
Factorial HR from any AI agent: the employee directory with profiles, contracts and roles, teams and their leaders, time-off and leave requests, and clocked attendance shifts. Read-only, with a company API key.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
FACTORIAL_API_KEY
Step 1 — Get credentials
Setting up takes about 5 minutes. You need a Factorial account with admin rights; the only credential is a company API key.
- Sign in to Factorial at app.factorialhr.com and open Settings → API Keys.
- Generate a company API key and copy it immediately.
- Paste the key into
FACTORIAL_API_KEY. The connector sends it in thex-api-keyheader. - Install the connector. Ask for a few employees (
factorial_hr_list_employees) to check the connection.
Cloud and self-hosted work the same way: the API key is the only credential, and there is no redirect URL to set.
Read-only: all 5 tools read. None of them creates, changes or deletes anything in Factorial, and nothing is switched off at install. Some employee fields are only returned when the key has admin rights.
Where to start: factorial_hr_list_employees finds people by name (full_text_name or name_starts_with), e-mail, team (team_ids) or manager status, and only_active: true leaves out people who have left. factorial_hr_get_employee then returns the full profile of one employee: personal details, contract and role. factorial_hr_list_teams lists the teams and departments with their leaders and parent teams.
Time off and attendance: factorial_hr_list_leaves lists time-off requests with leave type, dates and approval status. Filter by employee, by date (from, to, YYYY-MM-DD) or by approved. Set include_duration for the days and hours taken, and include_duration_by_day for the breakdown per day. factorial_hr_list_shifts lists clock-in and clock-out shifts with hours and location, filtered by employee and by start_on and end_on.
What it reads: employees with contact details, role, manager and active status; employee profiles with personal and contract data; teams with leaders and hierarchy; leave requests with type, dates, approval and duration; attendance shifts with clock-in and clock-out times.
Paging: lists return 20 records by default and up to 100 per page (limit). When meta.has_next_page is true, pass meta.end_cursor as after_id to get the next page.
Common errors: 401 means the key is wrong or was revoked: generate a new one under Settings → API Keys. 403 means the key lacks permission for that data. 429 means the rate limit was hit: Factorial allows up to 100 requests per minute, so wait a moment and try again.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Cursor
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Cursor reads MCP servers from ~/.cursor/mcp.json. Add this entry:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart Cursor.
- Open Cursor → Settings → MCP and check that
anythingmcpis listed and connected. - Start chatting — the agent can now call the
Factorial HRtools.
Available tools
| Tool | What it does |
|---|---|
factorial_hr_list_employees | List company employees with directory details, contact information, role, and active status |
factorial_hr_get_employee | Retrieve detailed profile, personal information, contract details, and role for a single employee by their ID |
factorial_hr_list_teams | List company teams, departments, and organizational units with leader and parent team hierarchy |
factorial_hr_list_leaves | List employee time-off and leave requests with approval status, date ranges, and leave type |
factorial_hr_list_shifts | List employee attendance clock-in and clock-out shifts with recorded hours and locations |
Example prompts
- "Who joined the company in the last three months, and which team are they in?"
- "Which time-off requests are still waiting for approval?"
- "List the members of the Sales team and their manager."
- "How many hours did Laura Gómez clock last week, day by day?"
- "Who is on leave next week?"
FAQ
Does Cursor support custom MCP servers on the free tier? Yes — MCP is available on Hobby, Pro and Business plans.
Next steps
Was this guide helpful?