Bring Employee Management
to Pydantic AI
Learn how to connect WebHR to Pydantic AI and start using 11 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.
What is the WebHR MCP Server?
Connect your WebHR account to any AI agent to automate your human resource management and personnel tracking. WebHR provides a comprehensive cloud-based HRMS for managing the entire employee lifecycle—from recruitment and onboarding to attendance monitoring and leave management.
What you can do
- Employee Orchestration — List and retrieve detailed metadata for all staff records, including personal profiles and department hierarchies.
- Attendance Monitoring — Access real-time clock-in/out records and retrieve aggregated attendance summaries for your organization.
- Leave Management — Track leave requests, monitor balance details, and list different leave types available in your system.
- Recruitment Control — Monitor open job postings, list active candidates, and manage the recruitment pipeline programmatically.
- Structural Oversight — Access company locations and department definitions to maintain a clear overview of your organizational structure.
How it works
1. Subscribe to this server
2. Enter your WebHR API Key from your Setup settings
3. Start managing your human resources from Claude, Cursor, or any MCP-compatible client
Who is this for?
- HR Managers — automate the monitoring of staff attendance and recruitment progress via natural language.
- Operations Leads — quickly retrieve employee details and department structures without switching applications.
- Business Owners — get instant summaries of organizational health and personnel metrics straight through the chat.
Built-in capabilities (11)
Get aggregated attendance metrics
Get details for an employee
List clock-in/out records
List categories of leave
g. Sales, Engineering). List organizational departments
List organization employees
List applicants for positions
List open job positions
List internal job requisitions
List employee leave history
List company offices
Why Pydantic AI?
Pydantic AI validates every WebHR tool response against typed schemas, catching data inconsistencies at build time. Connect 11 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your WebHR integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your WebHR connection logic from agent behavior for testable, maintainable code
WebHR in Pydantic AI
WebHR and 3,400+ other MCP servers. One platform. One governance layer.
Teams that connect WebHR to Pydantic AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 3,400+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for WebHR in Pydantic AI
The WebHR MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 11 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Pydantic AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
WebHR for Pydantic AI
Every tool call from Pydantic AI to the WebHR MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How do I find my WebHR API Key?
Log in to your WebHR portal, navigate to Setup > API Settings, and generate a new key for your integration.
Can the agent check employee leave balances?
Yes! Use the list_leaves tool to retrieve current leave applications and balance details for employees in your system.
How does Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your WebHR MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
