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
Broad access
Why this level
- The server runs queries against a live database, though QueryGuard is meant to block dangerous operations
Install
- Works in
Manual install
./mvnw spring-boot:runBuilding and running the Spring Boot app from the repository root.
Access and checks
How we reviewBroad 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 databaseMCP
- 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.
Related
MCP serversYandex DataLens public API MCP server
datalens-mcp
A Rust MCP server for the Yandex DataLens public API: 60 methods via a full catalog, typed wrappers for common operations and IAM auth
DataLens official MCP server
datalens-mcp
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
DataLens Dev MCP
datalens-dev-mcp
Local MCP server and Codex plugin for Yandex DataLens dashboard development: read, author, publish, back up and clean up objects
MCP server for the Yandex DataLens public API: 70 tools for dashboards, charts, datasets and connections
Self-hosted DataLens OSS MCP server
DataLens OSS API и MCP
A translator from the cloud DataLens API to internal open-source DataLens 2.9.0 calls, plus a Streamable HTTP MCP server on top
A desktop database client with an MCP server: an agent reads the schema, runs queries and triggers workflows over stdio.
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| DataLens: a Java database MCP server (this card) | no | not required | 0 | |
| Yandex DataLens public API MCP server | no | OAuth | 5 | 60 public API methods |
| DataLens official MCP server | yes | OAuth | 4 | the 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.