# Webcrawl + Mastra

Use @webcrawl/client inside Mastra tools for scrape and map.

Connect Webcrawl to Mastra agents with @webcrawl/client inside custom tools. Honest guide: no official @webcrawl/mastra package.

Packages: `@webcrawl/client`, `webcrawl`.

## FAQ

### Do you ship an official Mastra integration?

No. Use @webcrawl/client or REST inside Mastra tools you maintain. There is no @webcrawl/mastra package.

### How do I keep the API key safe?

Store WEBCRAWL_API_KEY in server env and only call Webcrawl from tool execute handlers that run on the server.

### What is a good first tool?

A scrape tool that posts to /v1/scrape and returns markdown, plus an optional map tool for docs discovery.

HTML: https://webcrawl.app/integrations/mastra
