← Back to directory
A

AgentQL MCP Server

Community
Extract structured data from web pages with AgentQL.
Category
Browser #92 of 104
Stars
★ 185 Very popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
API key / credential required
License
MIT
Last commit
Tools
1
41FMRS · D

The README describes a stdio web data extraction tool and configuration instructions for Claude Desktop, VS Code, Cursor, and Windsurf. The server path is the repository root; the manifest was not cached, so it provides no additional evidence about capabilities.

Strongest · Setup experience 12/20 Weakest · Reliability 5/20

Reliability
5/20
Security and permissions
8/20
Maintenance
6/20
Documentation
10/20
Setup experience
12/20
Why each score
Reliability 5/20
The README describes an extract-web-data tool that takes a URL and a prompt describing the requested fields. No manifest, implementation, tests, or CI evidence is provided, so the MCP initialization and tool-list handshake, actual behavior, error handling, and dependency reliability cannot be verified; the score is conservative.
Security and permissions 8/20
Examples configure the API key through an environment variable, and the VS Code example marks it as a password input, showing basic credential handling. The tool accesses a user-provided webpage and sends an extraction request to AgentQL, but data flows, permission boundaries, network restrictions, and credential protections are not explained. The supplied evidence does not establish a red-line issue, and source evidence to validate security is absent.
Maintenance 6/20
The supplied metadata indicates an MIT license, 185 stars, 6 open issues, and that the repository is not archived. It provides no release, commit activity, issue-response, dependency-update, or security-response evidence. Stars are only a discovery signal and do not add points.
Documentation 10/20
The README provides the tool's purpose, npm installation, API-key configuration, examples for several clients, development steps, and an Inspector debugging suggestion. It omits the tool parameter schema, limits, cost, privacy and data-handling details, and sufficient troubleshooting guidance; source code is unavailable to verify behavior.
Setup experience 12/20
The README gives a global npm installation path and configuration examples for Claude, VS Code, Cursor, and Windsurf, and says an AgentQL API key is required. Runtime requirements, platform compatibility, and a successful post-install handshake are not verified by source or execution evidence, so the score is limited.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

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 and side effects

  • 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.

Setup

Before you start

Runtime:Node.js

AGENTQL_API_KEY requiredsecret AgentQL API key; get one from the AgentQL Dev Portal.

Install the agentql-mcp npm package, obtain an API key from the AgentQL Dev Portal, and configure the server in an MCP client. The example starts it with npx -y agentql-mcp and passes the key through the AGENTQL_API_KEY environment variable. Restart the client to use it. The README provides configuration instructions for Claude Desktop, VS Code, Cursor, and Windsurf.

claude_desktop_config.json
{"mcpServers":{"agentql":{"command":"npx","args":["-y","agentql-mcp"],"env":{"AGENTQL_API_KEY":"YOUR_API_KEY"}}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "agentql": {
      "command": "npx",
      "args": [
        "-y",
        "agentql-mcp"
      ],
      "env": {
        "AGENTQL_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.agentql]
command = "npx"
args = ["-y", "agentql-mcp"]

[mcp_servers.agentql.env]
AGENTQL_API_KEY = "YOUR_API_KEY"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add agentql -e AGENTQL_API_KEY=YOUR_API_KEY -- npx -y agentql-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that extract-web-data appears in the client's tool list, then ask the agent to extract structured data from a web page.

Troubleshooting

  1. Check that `agentql-mcp` is installed and that a valid `AGENTQL_API_KEY` is configured.
  2. Restart the client after changing its configuration.
  3. If the client does not use AgentQL, the README suggests adding a “use tools” or “use agentql tool” hint to the task.
  4. The README recommends MCP Inspector for debugging stdio communication.

Things to try

Once connected, you can ask your AI assistant things like:

  • Extract video titles, author names, view counts, and video URLs from YouTube search results, excluding ads.
  • Extract product names, prices, and links from a web page.

Tools 1

extract-web-data read-only
Extract structured data from a web page using a URL and a prompt describing the data and fields to retrieve.

Use cases

Extract webpage content into specified fields, such as video titles, authors, view counts, and URLs.

Supported clients

Claude Desktop
VS Code
Cursor
Windsurf

Listed from the project's documentation, not tested by this site.

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.

Similar servers

Source revision 055e67af736f Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/agentql-mcp.svg)](https://followmcp.com/en/servers/agentql-mcp)