For developers
Developers
Use our directory data in your own tools. The REST API, the command-line tool and the MCP server all read the same checked listings. They are free and read-only, and you need no key.
What you get
Each answer gives a contractor’s name, trades, city, state, phone, profile link and rating. A rating comes only from reviews on The Roofing List. A website shows only on a claimed profile.
Only listed, open firms come back. No firm can pay to rank higher.
REST API
The base URL is https://mcp.theroofinglist.com. Send GET requests. Every answer is JSON.
GET /v1/contractors?trade=&city=&state=&limit=- Contractors in one city.
tradeisroofing,sidingorgutters.stateis a code (TX) or a name.limitis 1 to 25; the default is 10. GET /v1/contractors?trade=&zip=&limit=- The nearest contractors within 25 miles of a 5-digit ZIP code, nearest first.
GET /v1/contractors/{id}- One contractor. A closed, unlisted or unknown id gives a 404.
GET /openapi.json- The OpenAPI 3.1 document.
Example request
curl 'https://mcp.theroofinglist.com/v1/contractors?trade=roofing&city=Austin&state=TX&limit=5'The answer is { "contractors": [...] }. An error is { "error": "..." } with status 400, 404, 405, 429 or 503.
Read the full spec at https://mcp.theroofinglist.com/openapi.json. You can also find the API on RapidAPI and Postman.
Command-line tool
Our command-line tool, theroofinglist, runs the same searches from a terminal. It is not on npm yet. Until it is, the REST API gives the same answers.
MCP server
AI assistants such as Claude, ChatGPT and Cursor can search the directory through our MCP server. It uses Streamable HTTP, and you need no login. It has two tools: search_contractors and get_contractor.
Endpoint: https://mcp.theroofinglist.com/mcp
Claude Code
claude mcp add --transport http the-roofing-list https://mcp.theroofinglist.com/mcpSetup for Claude Desktop and Cursor is on the MCP servers page. The code is public on GitHub.
Limits and terms
Each caller gets 60 calls a minute to the REST API and 60 to the MCP server. Over the limit, you get a 429 with Retry-After: 60. Please keep scripts gentle.
Use of the data follows our terms of service. Questions? See how to contact us.