Skip to content
appsgit

Agentql MCP

Agentql MCP is an MCP server that integrates AgentQL's data extraction capabilities. It has 181 GitHub stars, is released under the MIT license and runs locally with npx -y agentql-mcp. It works with Claude Desktop, Claude Code, Cursor and VS Code and needs an API key.

github.com/tinyfish-io/agentql-mcp (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install Agentql MCP

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

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

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env AGENTQL_API_KEY=your-value --transport stdio agentql-mcp -- npx -y agentql-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "agentql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentql-mcp"
      ],
      "env": {
        "AGENTQL_API_KEY": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentql_api_key",
      "description": "AGENTQL_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "agentql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentql-mcp"
      ],
      "env": {
        "AGENTQL_API_KEY": "${input:agentql_api_key}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
AGENTQL_API_KEYsecretNoShown in the README's example configuration.

About Agentql MCP

This is a Model Context Protocol (MCP) server that integrates AgentQL's data extraction capabilities. To use AgentQL MCP Server to extract data from web pages, you need to install it via npm, get an API key from our Dev Portal, and configure it in your favorite app that supports MCP.

  • agent
  • agentql
  • ai
  • aiagent
  • claude
  • cursor
  • llm-tools
  • mcp
  • mcp-server
  • model-context-protocol

FAQ

Agentql MCP FAQ

Still curious? Email info@appsgit.com.

How do I install the Agentql MCP MCP server?

Add the command npx -y agentql-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Agentql MCP free?

The server is open source under the MIT license, so running it is free. It needs credentials (AGENTQL_API_KEY) for the service it connects to, which may require a paid account.

Is Agentql MCP actively maintained?

The most recent commit was on Oct 22, 2026. The latest release is v1.0.0, published Mar 13, 2025. appsgit only lists MCP servers with a commit in the last six months.