DataLens: a Java database MCP server

DataLens

A Java MCP server for querying Postgres, MySQL and SQLite in plain language, unrelated to the Yandex DataLens service

  • 0 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • The server runs queries against a live database, though QueryGuard is meant to block dangerous operations
All reasons and checks

javed937/datalens-mcp

Install

Manual install

./mvnw spring-boot:run

Building and running the Spring Boot app from the repository root.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The server runs queries against a live database, though QueryGuard is meant to block dangerous operations

This is third-party code. Review the repository files before installing.

What it does

The Spring and Java server gives an agent access to Postgres, MySQL and SQLite databases through separate JDBC adapters. It has tools for connecting, running queries, explain plans, exporting results, stats and browsing the schema. It separately implements protection against dangerous queries via QueryGuard and QuerySanitizer, plus an AuditLogger audit trail. The project is covered by unit and integration tests. The name DataLens here coincidentally matches the Yandex service's name; these are unrelated, separate products.

Who it is for. For teams where non-technical staff want answers from a working database through an agent instead of asking a developer for SQL.

Good fit when

  • You want to give an agent safe access to Postgres, MySQL or SQLite with protection against dangerous queries
  • You need an audit trail and explain plans for queries the agent runs

Not a fit when

  • You are looking for the Yandex DataLens BI dashboard service: that is a different product, not covered here
  • You need databases other than Postgres, MySQL and SQLite

Example request

Show which customers have no orders in the last 90 days, based on the Postgres database

MCP

Transport
stdio
Authentication
not required

Limitations

The project is maintained by one author, with no stars or known community. It has no connection to the Russian Yandex DataLens service despite the name overlap. It needs your own database reachable over JDBC; there are no ready cloud BI integrations.

How to disable. Stop the Spring Boot application and remove the server from your MCP client config.

FAQ

Is this the Yandex DataLens service?

No, this is a separate Java project by an unrelated author; the name overlap is coincidental and it has no connection to Yandex.

Discussion

No questions or reviews yet.

Russian stack

A Rust MCP server for the Yandex DataLens public API: 60 methods via a full catalog, typed wrappers for common operations and IAM auth

MCP serverExtended access5Repository stars
Official

The official DataLens MCP server from the development team: turns the public DataLens API into three gateway tools instead of hundreds of separate MCP tools

MCP serverExtended access4Repository stars

DataLens Dev MCP

datalens-dev-mcp

Russian stack

Local MCP server and Codex plugin for Yandex DataLens dashboard development: read, author, publish, back up and clean up objects

MCP serverBroad access7Repository stars
Russian stack

MCP server for the Yandex DataLens public API: 70 tools for dashboards, charts, datasets and connections

MCP serverExtended access8Repository stars
Russian stack

A translator from the cloud DataLens API to internal open-source DataLens 2.9.0 calls, plus a Streamable HTTP MCP server on top

MCP serverExtended access5Repository stars

A desktop database client with an MCP server: an agent reads the schema, runs queries and triggers workflows over stdio.

MCP serverBroad access118Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
DataLens: a Java database MCP server (this card)nonot required0
Yandex DataLens public API MCP servernoOAuth560 public API methods
DataLens official MCP serveryesOAuth4the official DataLens server

README in short

The English README frames the problem: non-technical staff cannot write SQL themselves and wait on a developer. DataLens is described as an MCP server that connects Claude directly to a database, so the team just talks to the assistant, which then queries the database itself.

README badge

Report a problem