fieldroutes_mcp
MCP server for the FieldRoutes pest-control / lawn-care operations platform — talk to your data from Claude, Cursor, or any MCP client.
README
fieldroutes_mcp
MCP server for the FieldRoutes pest-control / lawn-care operations platform — talk to your data from Claude, Cursor, or any MCP client.
FieldRoutes (a ServiceTitan company) is used by 1,700+ pest-control, lawn-care, and pool-care companies to manage customers, recurring service subscriptions, appointments, routes, and invoices. This server wraps their public API and exposes it through the Model Context Protocol.
What you can do with it
You: "Find every customer with an unpaid balance older than 30 days."
Claude: *calls search_customers with balance_min + balance_age_days filters*
You: "Cancel tomorrow's appointment for customer 12345 — they just called."
Claude: *calls cancel_appointment with a reason string*
You: "Add a note to ticket 67890 that says 'follow up next week'."
Claude: *calls create_note with entity='ticket', entity_id=67890*
Tools exposed
| Tool | Purpose |
|---|---|
health_check |
Verify credentials work |
search_customers |
Filter by name, phone, email, balance, balance age, office |
get_customer |
Fetch one customer record |
create_customer |
Create a new customer record |
update_customer |
Update arbitrary customer fields |
search_appointments |
Filter by customer, date range, status |
cancel_appointment |
Cancel with reason |
search_subscriptions |
Recurring pest-control / lawn-care contracts |
search_routes |
Service routes by date / office |
search_tickets |
Invoices (FieldRoutes calls them "tickets") |
create_note |
Attach a note to any entity (customer/ticket/appointment) |
11 tools covering the most-used FieldRoutes workflows.
Install
pip install fieldroutes_mcp
Configure
Generate an API key pair at https://app.fieldroutes.com (Settings -> API). Both fields are required on every request.
export FIELDROUTES_MCP_AUTHENTICATION_KEY="your-key-here"
export FIELDROUTES_MCP_AUTHENTICATION_TOKEN="your-token-here"
Use with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"fieldroutes_mcp": {
"command": "fieldroutes_mcp",
"env": {
"FIELDROUTES_MCP_AUTHENTICATION_KEY": "...",
"FIELDROUTES_MCP_AUTHENTICATION_TOKEN": "..."
}
}
}
}
How it works
FieldRoutes' public API is a single endpoint that takes POST requests in the shape /{entity}/{action} with a JSON body containing the operation parameters plus authentication fields. Every response uses a {success, result, errorMessage} envelope.
This server wraps that pattern in:
- A typed exception hierarchy (
FieldRoutesAuthError,FieldRoutesNotFoundError,FieldRoutesRateLimitError,FieldRoutesConnectionError,FieldRoutesAPIError). - Exponential-backoff retry on 429/5xx.
- One-JSONL-line-per-call audit logging to stderr or a file via
FIELDROUTES_MCP_AUDIT_LOG.
Development
git clone https://github.com/sanjibani/fieldroutes_mcp.git
cd fieldroutes_mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest
ruff check src tests
mypy src tests
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.