# AgentQL MCP Server

> Extract structured data from web pages with AgentQL.

- **URL**: https://followmcp.com/en/servers/agentql-mcp
- **Category**: Browser
- **Origin**: Community
- **Stars**: 185
- **FMRS Score**: 41/100 (Grade D)
- **Source**: https://github.com/tinyfish-io/agentql-mcp
- **Transports**: stdio (local process)
- **Runtimes**: Node.js
- **Auth**: API key / credential required

## Overview
AgentQL MCP Server integrates AgentQL's data extraction capabilities with MCP. It provides the `extract-web-data` tool, which extracts structured data from a web page using a URL and a prompt describing the desired data and fields. The README says to install the npm package and obtain an AgentQL API key before use.

## Best for
- MCP users who need structured data extracted from web pages based on a natural-language description.
- Users who can provide an AgentQL API key and configure an MCP client.

## Not for
- Workflows that do not need web data extraction.
- Users who cannot provide an AgentQL API key.

## Required permissions
- Requires an AgentQL API key, passed as the `AGENTQL_API_KEY` environment variable in the example configuration.
- The client must be able to launch the configured `npx` command.

## Risks
- The API key is stored in the client configuration; avoid exposing or sharing configurations that contain it.
- Extraction results depend on the target page and prompt; the README does not specify accuracy or page coverage.

## Client config (JSON)
```json
{"mcpServers":{"agentql":{"command":"npx","args":["-y","agentql-mcp"],"env":{"AGENTQL_API_KEY":"YOUR_API_KEY"}}}}
```

## Tools (1)
- `extract-web-data`: Extract structured data from a web page using a URL and a prompt describing the data and fields to retrieve.
