Sqrl

v1.0.0Data Science & MLstable

Data Pipeline Automation Framework to build MCP servers, data APIs, and data lakes with SQL.

apidata-pipelinedatabaseevent-drivenevent-driven-microservices
Share:
212
Stars
0
Downloads
0
Weekly
0/5

What is Sqrl?

Sqrl is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to data pipeline automation framework to build mcp servers, data apis, and data lakes with sql.

Data Pipeline Automation Framework to build MCP servers, data APIs, and data lakes with SQL.

This server falls under the Data Science & ML category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Data Pipeline Automation Framework to build MCP servers, dat

Use Cases

Build data pipelines with SQL
Create data APIs and lakes
Enable event-driven data processing
DataSQRL

Maintainer

LicenseApache-2.0
Languagejava
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx sqrl

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Sqrl

DataSQRL is a data pipeline automation framework that lets you build MCP servers, data APIs, and data lakes using SQL. It compiles SQL scripts into deployable streaming data pipelines backed by Apache Flink, Kafka, and PostgreSQL, and automatically generates MCP tool definitions, REST API endpoints, and GraphQL schemas from the same SQL source. Developers use it to expose real-time data processing pipelines as AI-accessible MCP tools without writing infrastructure glue code.

Prerequisites

  • Docker installed and running (DataSQRL is distributed as a Docker image)
  • Docker Compose for multi-service deployments
  • An MCP-compatible client such as Claude Desktop or Cursor
  • Basic familiarity with SQL for writing SQRL scripts
  • Sufficient memory for running Flink and Kafka containers (at least 8 GB RAM recommended)
1

Initialize a new DataSQRL project

Use the DataSQRL Docker image to scaffold a new project from a template. The 'api messenger' template creates a messaging data pipeline project.

docker run --rm -v $PWD:/build datasqrl/cmd init api messenger
2

Inspect and edit the generated SQL scripts

DataSQRL generates SQRL files that define your data pipeline logic using SQL. Edit these files to add your own data processing, aggregations, and API definitions.

3

Compile the project to deployment artifacts

Compile the SQRL scripts into deployment artifacts including Flink execution plans, Kafka topic schemas, PostgreSQL definitions, server queries, MCP tool specifications, and GraphQL models.

docker run --rm -v $PWD:/build datasqrl/cmd compile messenger-prod-package.json
4

Run the data pipeline

Start the runtime environment. The stack exposes a GraphQL API on port 8888, a REST API on port 8081, and an MCP endpoint at /v1/mcp.

docker run -it --rm -p 8888:8888 -p 8081:8081 -v $PWD:/build datasqrl/cmd run messenger-prod-package.json
5

Run tests against the generated artifacts

Validate your pipeline logic using the built-in test runner.

docker run -it --rm -v $PWD:/build datasqrl/cmd test messenger-test-package.json
6

Connect your MCP client to the DataSQRL MCP endpoint

Configure your AI assistant to connect to the DataSQRL MCP server at http://localhost:8081/v1/mcp (HTTP/SSE). The generated MCP tool definitions describe all available data operations.

{
  "mcpServers": {
    "datasqrl": {
      "url": "http://localhost:8081/v1/mcp"
    }
  }
}

Sqrl Examples

Client configuration

Connect Claude Desktop or Cursor to a running DataSQRL MCP server using the HTTP/SSE endpoint generated by the platform.

{
  "mcpServers": {
    "datasqrl": {
      "url": "http://localhost:8081/v1/mcp"
    }
  }
}

Prompts to try

Once connected to a DataSQRL MCP server, the AI can query and interact with your data pipelines.

- "What data tools are available in this DataSQRL pipeline?"
- "Query the latest messages from the messenger pipeline."
- "Show me the aggregated event counts for the past hour."
- "Call the data API to retrieve all active user sessions."
- "What MCP tools did DataSQRL generate for the messenger project?"

Troubleshooting Sqrl

Docker containers fail to start due to insufficient memory

DataSQRL's stack includes Flink and Kafka which require significant memory. Allocate at least 8 GB to Docker in Docker Desktop settings under Resources.

Compilation fails with an error about an invalid package JSON

Ensure your package JSON file (e.g., messenger-prod-package.json) exists in the current directory and is correctly formatted. Run from the project root where the file resides.

MCP endpoint returns 404 at /v1/mcp

The MCP endpoint is only available after running the compiled artifacts with datasqrl/cmd run. Ensure the run command completed successfully and both ports 8888 and 8081 are published.

Frequently Asked Questions about Sqrl

What is Sqrl?

Sqrl is a Model Context Protocol (MCP) server that data pipeline automation framework to build mcp servers, data apis, and data lakes with sql. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Sqrl?

Follow the installation instructions on the Sqrl GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Sqrl?

Sqrl works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Sqrl free to use?

Yes, Sqrl is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Data Science & ML MCP Servers

Explore all data science & ml servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "sqrl": { "command": "npx", "args": ["-y", "sqrl"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Sqrl?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides