How to Connect LeyApp to Your AI Assistant
Step-by-step guide to connecting LeyApp with Claude, ChatGPT, VS Code, and other MCP-compatible AI tools.
Last updated: March 21, 2026
What is this?
LeyApp uses the Model Context Protocol (MCP) — an open standard that lets AI assistants like Claude, ChatGPT, and others search for lawyers and book consultations on your behalf.
No API key is needed. Just add LeyApp's server URL to your AI tool and you can start asking it to find lawyers, check availability, and initiate bookings — all in natural language.
Connect with Claude (claude.ai)
If you use Claude Pro, Max, Team, or Enterprise:
- Open Settings in Claude
- Go to the Connectors section
- Click Add connector
- Paste the server URL: https://leyapp.es/api/mcp/mcp
- Save — then ask Claude to find a lawyer on LeyApp
Connect with ChatGPT
Available for ChatGPT Pro, Team, and Enterprise users:
- Enable Developer Mode in ChatGPT settings
- Go to Apps & Connectors
- Click Add custom connector
- Paste the server URL: https://leyapp.es/api/mcp/mcp
- Connect — then ask ChatGPT to search LeyApp for lawyers
Server URL for all platforms: https://leyapp.es/api/mcp/mcp — No authentication required.
For Developers
You can connect LeyApp to any MCP-compatible tool using the CLI or a configuration file.
Quick setup commands
- Claude Code: run claude mcp add --transport http leyapp https://leyapp.es/api/mcp/mcp
- VS Code / Cursor: add a .vscode/mcp.json file with {"servers":{"leyapp":{"type":"http","url":"https://leyapp.es/api/mcp/mcp"}'}'}
- Auto-discovery endpoint: https://leyapp.es/.well-known/mcp.json
What can you do once connected?
Once LeyApp is connected, you can ask your AI assistant to:
- Search for lawyers by specialty, city, language, or price
- View a lawyer's full profile, ratings, and bar membership
- Check available time slots for a consultation
- Initiate a booking — you'll get a secure link to confirm and pay on LeyApp
Booking always requires your confirmation. The AI cannot complete a payment or create a binding appointment without you visiting the confirmation link.
Troubleshooting
My AI can't find LeyApp
Make sure you pasted the full URL: https://leyapp.es/api/mcp/mcp — including the /mcp at the end. Some tools also need you to select 'Streamable HTTP' as the transport type.
I get a rate limit error
LeyApp limits requests to 30 per minute per IP address. If you're running automated scripts, reduce the frequency. Normal conversational use should never hit this limit.