Skip to main content
Glama
PaisaLocal MCP Server

PaisaLocal MCP Server

Official
README.md
# PaisaLocal agents

PaisaLocal builds concrete patios and driveways, natural stone retaining walls and outdoor kitchens in Dallas-Fort Worth. 20 years in DFW masonry and outdoor living.

This repository is what an AI agent or a developer needs to work with PaisaLocal: the MCP server, the REST API spec, the agent skills, the agent plugin manifest and the command line client. Every price comes from PaisaLocal's own price list: the same installed price paisalocal.com gives, line by line, with permits for the ZIP included. A site visit confirms the final price.

> Generated mirror: every file here is regenerated from PaisaLocal's own sources by a sync script, so it matches what www.paisalocal.com serves. Edits made here directly are overwritten.

## The three tools

| Tool | REST | What it does |
|---|---|---|
| `find_contractor` | `GET /api/v1/contractors` | Whether PaisaLocal builds this type of project at this city or ZIP (Dallas-Fort Worth only) |
| `get_estimate` | `POST /api/v1/estimate` | PaisaLocal's installed price for the job, line by line, plus a link where the homeowner sees the job drawn onto a photo of their own yard |
| `request_site_visit` | `POST /api/v1/site-visit` | The open times for the site visit that confirms the price, then the booking |

Locations outside Dallas-Fort Worth get a 422 with code `out_of_area` and no price.

## MCP

- Endpoint: `https://api.paisalocal.com/api/mcp` (Streamable HTTP, no sign-in)
- Plugin config: [`mcp.json`](mcp.json) (Agent Plugins format)
- Discovery manifest, as served: [`.well-known/mcp.json`](.well-known/mcp.json), live at https://www.paisalocal.com/.well-known/mcp.json
- Agent card, as served: [`.well-known/agent.json`](.well-known/agent.json), live at https://www.paisalocal.com/.well-known/agent.json

## REST quickstart

Price a 20 x 20 ft broom finish concrete patio in Keller. First in sandbox mode, where nothing is saved, booked or sent:

```sh
curl -X POST https://api.paisalocal.com/api/v1/estimate -H 'Content-Type: application/json' -H 'X-Sandbox: true' -d '{"city":"Keller","project_type":"concrete","length_ft":20,"width_ft":20,"finish":"broom"}'
```

The reply is the real price, with `sandbox: true`. The same call without `X-Sandbox` saves the estimate and returns the `estimateId` that books a site visit. The full spec is [`openapi.json`](openapi.json) (OpenAPI 3.1), live at https://www.paisalocal.com/openapi.json.

## Command line

```sh
npm install -g @paisalocal/cli
paisalocal estimate --city Keller --sqft 400 --finish broom
```

Node 18 or newer, no dependencies. `--sandbox` sends `X-Sandbox: true`, `--json` prints the reply as JSON. Source in [`cli/`](cli/).

## Agent plugin and skills

- [`plugin.json`](plugin.json): the [Agent Plugins](https://agent-plugins.org/specification) manifest, name `paisalocal`
- [`skills/`](skills/): one `SKILL.md` per tool, byte for byte the files listed at https://www.paisalocal.com/.well-known/agent-skills/index.json

How an AI coding agent should use this repo and the API: [`AGENTS.md`](AGENTS.md).

## Links

- Developers: https://www.paisalocal.com/developers
- OpenAPI: https://www.paisalocal.com/openapi.json
- llms.txt: https://www.paisalocal.com/llms.txt
- PaisaLocal in Claude: https://www.paisalocal.com/connector

## License

MIT, PAIsaLocal Inc.