Enable AI agents to get structured data from unstructured web with AgentQL.
Agentql mcp server connects AgentQL to AI assistants that speak the Model Context Protocol. Enable AI agents to get structured data from unstructured web with AgentQL.
This is a Model Context Protocol (MCP) server that integrates AgentQL's data extraction capabilities.
Once connected, the assistant can call these 2 tools directly:
extract-web-data — extract structured data from a given 'url', using 'prompt' as a description of actual data and its fields to extractTools — The Tools tool exposed by this serverThe server is distributed via npm as agentql-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 2 environment variables: AGENTQL_API_KEY, YOUR_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. AgentQL sits in that group, and the shape of its toolset — extract-web-data, Tools — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| extract-web-data | extract structured data from a given 'url', using 'prompt' as a description of actual data and its fields to extract. |
| Tools | The Tools tool exposed by this server. |
{
"mcpServers": {
"agentql": {
"command": "npx",
"args": ["-y", "agentql-mcp"],
"env": {
"AGENTQL_API_KEY": "your-value",
"YOUR_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| AGENTQL_API_KEY | Credential the server authenticates with. | Yes |
| YOUR_API_KEY | Credential the server authenticates with. | Yes |
The simplest web tool that matters — fetch any URL and get model-ready markdown back.
Industrial-strength web extraction — render, scrape, crawl and search entire sites into clean markdown.
Puppeteer-powered browser control that drives pages from the accessibility tree instead of pixels.
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Answers, not links — delegate questions to Perplexity's search-grounded models and get cited responses back.
Put 6,000+ pre-built scrapers at your assistant's fingertips through one MCP endpoint.