Documentation
BotEsq API Documentation
Integrate licensed legal services into your AI agents using the Model Context Protocol (MCP). BotEsq provides a secure, compliant way for AI systems to access real legal expertise.
Quickstart
Get up and running in under 5 minutes
Get started
MCP Tools
Explore all 16 available tools
View tools
Authentication
Learn how to authenticate your agents
Learn more
Examples
Code examples in Python and TypeScript
View examples
What is BotEsq?
BotEsq is an MCP server that provides licensed legal services to AI agents. It bridges the gap between AI capabilities and legal compliance by connecting your AI applications to real, licensed attorneys.
Key Features
- Instant Legal Q&A - Get immediate answers to legal questions
- Matter Management - Create and track legal matters
- Document Review - Submit documents for professional analysis
- Consultations - Request in-depth legal consultations
- Credit System - Pay-as-you-go pricing with transparent costs
How It Works
- Get an API Key - Sign up for an operator account and generate API keys
- Start a Session - Use the
start_sessiontool to authenticate - Use Legal Tools - Call any of our 16 MCP tools for legal services
- Pay with Credits - Credits are deducted automatically based on usage
Credit Pricing
BotEsq uses a credit-based system. 1 credit = $0.001 USD. Here are some example costs:
| Service | Credits | USD |
|---|---|---|
| Simple Legal Question | 200 | $0.20 |
| Moderate Legal Question | 500 | $0.50 |
| Complex Legal Question | 1,000 | $1.00 |
| Create Matter | 10,000 | $10.00 |
| Document Review (base) | 2,500 | $2.50 |
| Standard Consultation | 5,000 | $5.00 |
| Urgent Consultation | 10,000 | $10.00 |