Yandex 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

  • 5 ★ on the repository
  • Last commit
  • Apache-2.0
MCP server

Extended access

Why this level

  • The datalens.editor or admin role can create and change datasets and connections
  • The IAM token grants access across the whole Yandex Cloud organization
All reasons and checks
Russian stack

snevolin/datalens-mcp

Install

Manual install

Text for your agent

Get DATALENS_ORG_ID from the Yandex Cloud console and an IAM token via yc iam create-token after yc init, then install the prebuilt binary per the README for your OS and connect the server with the YC_IAM_TOKEN and DATALENS_ORG_ID variables.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The datalens.editor or admin role can create and change datasets and connections
  • The IAM token grants access across the whole Yandex Cloud organization

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

What it does

The server is written in Rust and talks to the public DataLens API at api.datalens.tech over stdio. The datalens_list_methods tool returns the full 60-method catalog from a February 18, 2026 snapshot, datalens_get_method_schema returns the request schema and examples for a given method, and datalens_rpc makes a generic call to any catalog method, including ones added later with no typed wrapper. Separately there are ready typed tools for high-frequency operations: reading and creating connections and datasets, dataset validation, reading dashboards, charts of several kinds (wizard, editor, QL) and workbooks, plus folder navigation and entry permissions.

Who it is for. For analysts and developers working with dashboards and datasets in Yandex DataLens who want to read them through an agent.

Good fit when

  • You need to pull a DataLens dashboard or dataset structure through an agent
  • You need a DataLens API method with no typed wrapper yet: datalens_rpc covers it
  • You need to validate a dataset before using it in a chart

Not a fit when

  • You have no Yandex Cloud organization or IAM token: the DataLens Public API will not let you in without them
  • The IAM token needs manual renewal if obtained via yc CLI or OAuth exchange: the server does not refresh it itself

Example request

Show the structure of this DataLens dashboard by its ID and the list of datasets in that workbook

MCP

Transport
stdio
Authentication
OAuth

Environment variables

YC_IAM_TOKEN required, secret
Yandex Cloud IAM token, with a limited lifetime, up to 12 hours when obtained via OAuth.
DATALENS_ORG_ID required
Organization ID in Yandex Cloud.

Limitations

This is explicitly an unofficial project: the README has a dedicated section disclaiming any Yandex affiliation, noting the name is used only to describe API compatibility. It needs the datalens.editor or datalens.admin role and a not always obvious path to an IAM token, via yc CLI, an OAuth exchange, or a service account with a key. IAM tokens live for a limited time, up to 12 hours when obtained via OAuth exchange.

How to disable. Remove the server from your MCP client config.

FAQ

Is this an official Yandex server?

No, the README states plainly that the project is unofficial and not affiliated with or endorsed by Yandex.

What if a method has no typed wrapper yet?

Use datalens_rpc, which calls any method from the datalens_list_methods catalog directly.

Discussion

No questions or reviews yet.

Russian stack

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

MCP serverExtended access8Repository 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

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
Official

Yandex Cloud's official MCP server set: documentation, search, app deployment, serverless functions, containers and a data catalog

MCP serverBroad access49Repository stars
Official

Official Yandex demo templates: MCP gateways over cloud functions for YandexART, charts, PDF, arXiv, Kaggle and weather

MCP serverExtended access1Repository stars

Comparison with similar tools

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

ToolOfficialAuthenticationRepository starsMain difference
Yandex DataLens public API MCP server (this card)noOAuth5
DataLens official MCP serveryesOAuth4the official DataLens server
DataLens: a Java database MCP servernonot required0Postgres, MySQL, SQLite

README in short

The English README opens with a direct unofficial-status disclaimer, walks through install options for Linux, Fedora, Debian and Ubuntu, macOS and Windows, or building from source, lists four ways to get DataLens API credentials, and details three paths to an IAM token: via yc CLI, an OAuth exchange, and a service account with a key.

README badge

Report a problem