# Agentql — MCP server on mcp.ai > Connect your Agentql account and use 3 tools for web scraping straight from your AI agent. Connect with your own API key. AgentQL is a suite of tools designed to connect AI agents to the web, enabling web interaction and structured data extraction through a specialized query language. By: mcp.ai · official Page: https://mcp.ai/agentql ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_agentql?ms=1787291520000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/agentql/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/agentql/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/agentql/skill.md Postman collection (v2.1): https://mcp.ai/agentql/postman.json ## Tools - agentql_create_remote_browser_session(proxy?: object, browser_profile?: string, browser_ua_preset?: string, inactivity_timeout_seconds?: integer) — Tool to create a remote browser session. Use when you need to run browser automation on remote infrastructure. - agentql_get_usage() — Retrieves API usage statistics and subscription limits for the AgentQL account. Returns current billing cycle dates, lifetime usage limits, API key usage counts, and total account usage. Useful for mo - agentql_query_data(url?: string, html?: string, query?: string, params?: object, prompt?: string) — Tool to query structured data as JSON from a web page using an AgentQL query or natural language prompt. Use after defining your query or prompt and a URL or HTML. ## Example prompts - "What can I do in Agentql?" - "Show me a summary of my Agentql account" ## Links Docs: https://mcp.ai/docs/mcps/agentql Website: https://mcp.ai/mcps/agentql