agentql
The agentql server provides tools to extract structured data from webpages, manage browser sessions, and monitor API usage.
Extract structured data from webpages (
query_webpage_data): Query live URLs or raw HTML using AgentQL query syntax or natural language prompts, with support for dynamic content loading, proxy routing, screenshots, lazy-load scrolling, and configurable browser profiles (light, stealth, tf-browser).Monitor API usage (
get_usage): Retrieve current API key usage statistics and subscription/quota details for the authenticated account.Create browser sessions (
create_browser_session): Spin up a new Tetra browser session with customizable user agent, browser profile, proxy settings, and lifecycle/shutdown behavior (idle timeout or on-disconnect).List browser session usage (
list_session_usage): Retrieve a paginated, filterable history of Tetra browser session usage records, with filters for session ID, sub-user, status (running/ended), and time range.
AgentQL MCP Server
Base URL: https://api.agentql.com
Category | Developer Tools |
Tools | 3 |
Auth | API Key |
Install
Quick Start (recommended)
API_KEY=YOUR_API_KEY \
uvx mcparmory-agentqlWith pip
pip install mcparmory-agentql
API_KEY=YOUR_API_KEY \
mcparmory-agentqlMCP Client Configuration
Add to your MCP client config (e.g. Claude Desktop, Cursor, Codex):
{
"mcpServers": {
"agentql": {
"command": "uvx",
"args": ["mcparmory-agentql"],
"env": {
"API_KEY": "YOUR_API_KEY"
}
}
}
}Related MCP server: web-extractor
Credentials
Set the following environment variables (via MCP client env config, shell export, or .env file):
API_KEY— API Key Authentication (X-API-Key)
Do not commit credentials to version control.
Run Locally
First, configure your credentials in .env (see Credentials above).
pip install -r requirements.txt
python server.pyConnect MCP Client
Edit .mcp.json and replace <SERVER_DIR> with the absolute path to this directory, then add to your MCP client configuration.
Example (if server is at /home/user/mcp-servers/agentql):
{
"mcpServers": {
"agentql": {
"command": "python",
"args": ["/home/user/mcp-servers/agentql/server.py"]
}
}
}Docker
Pre-built image (recommended)
docker run -p 8000:8000 \
-e API_KEY=YOUR_API_KEY \
ghcr.io/mcparmory/agentql:latestBuild from source
First, configure your credentials in .env (see Credentials above).
docker build -t agentql .
docker run -p 8000:8000 --env-file .env agentqlBefore running, make sure ports 8000 are free.### MCP client config (Docker)
For Docker, use SSE transport in your MCP client config:
{
"mcpServers": {
"agentql": {
"type": "sse",
"url": "http://localhost:8000/sse"
}
}
}Files
.env- Credentials and server configuration.mcp.json- MCP client config templateDockerfile- Container buildLICENSE- MIT license for this generated coderequirements.txt- Python dependenciesREADME.md- This fileserver.py- MCP server entry point_auth.py- Authentication handlers_models.py- Request/response models_validators.py- Input validation
Note: Files starting with . are hidden by default on macOS/Linux. Use ls -a in terminal or enable "Show hidden files" in your file manager to see .env and .mcp.json.
Available Tools
4 toolscreate_browser_sessionA
Creates a new Tetra browser session with configurable user agent, profile, proxy, and lifecycle settings. Returns session details needed to connect and interact with the browser.
Inputs: browser_ua_preset, browser_profile, shutdown_mode, inactivity_timeout_seconds, +2 more.
get_usageA
Retrieves current API key usage statistics and subscription details for the authenticated account. Useful for monitoring consumption limits and understanding remaining quota.
Inputs: no named parameters.
list_session_usageA
Retrieve a paginated list of Tetra browser session usage records for the authenticated user, with optional filtering by user, session, time range, and status.
Inputs: sub_user_id, session_id, start_after, end_before, +3 more.
query_webpage_dataB
Extracts structured data from a webpage using an AgentQL query or a natural language prompt. Accepts either a live URL or raw HTML as the data source.
Inputs: content-type (required), query, prompt, url, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct functionality: browser session creation, API usage statistics, session usage records, and webpage data extraction. No overlap in purposes.
All tool names follow a consistent verb_noun snake_case pattern (create_browser_session, get_usage, list_session_usage, query_webpage_data).
4 tools is slightly below average but reasonable for the focused domain of browser automation and data extraction. Could benefit from additional lifecycle management tools.
Missing session deletion/closure (only create is provided) and session updating. Usage tracking is well covered, and webpage querying is present, but lifecycle is incomplete.
Maintenance
Related MCP Connectors
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Web data extraction and browser workflows for AI assistants.
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceProvides tools to scrape, extract structured data, and crawl webpages, with access to browser automation agents like OpenAI's CUA, Anthropic's Claude Computer Use, and Browser Use for complex web tasks.-
- FlicenseNot gradedqualityCmaintenanceEnables natural language web data extraction into structured JSON via browser automation, supporting field-based and goal-based modes with optional vision.1-
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to browse websites, extract information, fill forms, interact with pages, and execute multi-step web tasks autonomously.-

Spicrawl MCP Serverofficial
AlicenseAqualityBmaintenanceEnables AI agents in Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI and Codex to scrape web pages into Markdown, text, HTML, JSON or PDF, extract structured data with selectors or autoparse, capture screenshots and PDFs the model can see, drive pages with typed browser actions, keep logged-in persistent browser sessions, and batch-scrape thousands of URLs as async jobs. It also exposes usage, request-log and documentation tools so agents can check costs, diagnose failures and look up parameters without leaving the chat.25Apache 2.0