firecrawl_check_crawl_status
Check the status of a web crawl job to monitor progress and retrieve results from the Firecrawl MCP Server.
Instructions
Check the status of a crawl job.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Crawl job ID to check |
Implementation Reference
- src/index.ts:1099-1121 (handler)The handler logic for the 'firecrawl_check_crawl_status' tool. It validates the input arguments using isStatusCheckOptions, calls the Firecrawl client's checkCrawlStatus method with the provided job ID, formats the response into a status string including status, progress, credits used, expiration, and results summary, and returns it as tool content.case 'firecrawl_check_crawl_status': { if (!isStatusCheckOptions(args)) { throw new Error( 'Invalid arguments for firecrawl_check_crawl_status' ); } const response = await client.checkCrawlStatus(args.id); if (!response.success) { throw new Error(response.error); } const status = `Crawl Status: Status: ${response.status} Progress: ${response.completed}/${response.total} Credits Used: ${response.creditsUsed} Expires At: ${response.expiresAt} ${ response.data.length > 0 ? '\nResults:\n' + formatResults(response.data) : '' }`; return { content: [{ type: 'text', text: status }], isError: false, }; }
- src/index.ts:393-406 (schema)The Tool schema definition for 'firecrawl_check_crawl_status', specifying the input schema requiring a 'id' string for the crawl job ID.const CHECK_CRAWL_STATUS_TOOL: Tool = { name: 'firecrawl_check_crawl_status', description: 'Check the status of a crawl job.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Crawl job ID to check', }, }, required: ['id'], }, };
- src/index.ts:862-874 (registration)Registration of the tool in the listTools request handler by including CHECK_CRAWL_STATUS_TOOL in the array of available tools.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: [ SCRAPE_TOOL, MAP_TOOL, CRAWL_TOOL, BATCH_SCRAPE_TOOL, CHECK_BATCH_STATUS_TOOL, CHECK_CRAWL_STATUS_TOOL, SEARCH_TOOL, EXTRACT_TOOL, DEEP_RESEARCH_TOOL, ], }));