Labsco
tinyfish-io logo

AgentQL

โ˜… 174

from tinyfish-io

Enable AI agents to get structured data from unstructured web with AgentQL.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

AgentQL MCP Server

This is a Model Context Protocol (MCP) server that integrates AgentQL's data extraction capabilities.

Features

Tools

  • extract-web-data - extract structured data from a given 'url', using 'prompt' as a description of actual data and its fields to extract.

Development

Install dependencies:

Copy & paste โ€” that's it
npm install

Build the server:

Copy & paste โ€” that's it
npm run build

For development with auto-rebuild:

Copy & paste โ€” that's it
npm run watch

If you want to try out development version, you can use the following config instead of the default one:

Copy & paste โ€” that's it
{
  "mcpServers": {
    "agentql": {
      "command": "/path/to/agentql-mcp/dist/index.js",
      "env": {
        "AGENTQL_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

[!NOTE] Don't forget to remove the default AgentQL MCP server config to not confuse Claude with two similar servers.

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

Copy & paste โ€” that's it
npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.