MCP Servers
Connect your AI assistant to Leyr - read docs and generate code, or execute live API calls against any EHR.
Leyr MCP Servers
Leyr provides two MCP servers - one for docs, one for live API access. Use them independently or together.
Choose your server
Docs MCP vs Clinical MCP
| Docs MCP | Clinical MCP | |
|---|---|---|
| Purpose | Read docs, search endpoints, generate code | Execute real API calls against your EHR |
| Credentials needed | No | Yes - Client ID + Client Secret |
| Account required | No | Yes |
| URL | https://docs.leyr.io/mcp | https://api.leyr.io/mcp |
Use both together: the Docs MCP answers questions and generates code; the Clinical MCP makes it run.
Questions, requests, or suggestions for our MCP? Reach out at contact@leyr.io.
Medical Notes Setup
Medical notes allow you to create and retrieve clinical documentation in the EHR on behalf of your users. Before you can use the Medical Notes API, you need to configure a medical notes mapping for the EHR in your application settings in the Developer Portal.
Docs MCP
Give your AI coding assistant full context about the Leyr API - docs, endpoint reference, and use-case guides via MCP.