MCP server for Datanika — browse connections, preview data, and manage pipelines from Claude Desktop
Project description
Datanika MCP Server
mcp-name: io.datanika/datanika-mcp
MCP server for Datanika — browse connections, preview data, compile and validate dbt transformations, monitor runs, and manage pipelines from Claude Desktop.
Read-only by default. Pass --allow-write to enable creating resources and triggering pipeline runs.
Install
# From PyPI (recommended)
uvx datanika-mcp --help
# From git
uvx --from "git+https://github.com/datanika-io/datanika-core#subdirectory=datanika-mcp" datanika-mcp --help
Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
Read-only (recommended)
{
"mcpServers": {
"datanika": {
"command": "uvx",
"args": [
"--from", "git+https://github.com/datanika-io/datanika-core#subdirectory=datanika-mcp",
"datanika-mcp",
"--url", "https://app.datanika.io",
"--api-key", "YOUR_API_KEY"
]
}
}
}
With write access
{
"mcpServers": {
"datanika": {
"command": "uvx",
"args": [
"--from", "git+https://github.com/datanika-io/datanika-core#subdirectory=datanika-mcp",
"datanika-mcp",
"--url", "https://app.datanika.io",
"--api-key", "YOUR_API_KEY",
"--allow-write"
]
}
}
}
Environment variables
You can also configure via environment variables:
{
"mcpServers": {
"datanika": {
"command": "uvx",
"args": [
"--from", "git+https://github.com/datanika-io/datanika-core#subdirectory=datanika-mcp",
"datanika-mcp"
],
"env": {
"DATANIKA_URL": "https://app.datanika.io",
"DATANIKA_API_KEY": "YOUR_API_KEY",
"DATANIKA_ALLOW_WRITE": "true"
}
}
}
}
Available Tools
Always available (read-only)
| Tool | Description |
|---|---|
get_agent_tiers |
Get the 5-tier agent capability stack |
get_connection_types |
List supported connection types with config schemas |
list_connections |
List all connections in the org |
get_connection |
Get connection details by ID |
introspect_connection |
List schemas/tables of a source connection |
preview_connection |
Preview first N rows of a table |
query_connection |
Execute a read-only SQL query |
compile_transformation |
Compile a dbt transformation (no execution) |
preview_transformation |
Compile + execute, return preview rows |
list_uploads |
List all uploads |
list_pipelines |
List all pipelines |
list_transformations |
List all transformations |
list_runs |
List runs with optional filters |
get_run |
Get run details by ID |
get_run_logs |
Get run logs |
list_catalog |
List catalog entries (source tables + dbt models) |
get_catalog_entry |
Get catalog entry details |
Requires --allow-write
| Tool | Description |
|---|---|
create_connection |
Create a new data connection |
create_upload |
Create a new upload (extract + load) |
create_pipeline |
Create a new pipeline (dbt orchestration) |
create_transformation |
Create a new dbt SQL transformation |
bulk_import |
Bulk-create resources from JSON v2 format |
trigger_upload |
Trigger an upload run |
trigger_pipeline |
Trigger a pipeline run |
trigger_transformation |
Trigger a transformation run |
Self-hosted
Point --url at your instance. Use the backend port (8000) — 3000 is the
Reflex frontend and serves no /api/v1:
datanika-mcp --url http://localhost:8000 --api-key etf_your_key
Releasing (maintainers)
datanika-mcp publishes to PyPI via GitHub Actions Trusted Publishing (OIDC — no stored API token). To cut a release (from master):
-
Bump
versioninpyproject.toml. -
Tag and push — the tag version must match
pyproject.toml:git tag mcp-v0.2.0 git push origin mcp-v0.2.0
-
The
Release datanika-mcp to PyPIworkflow builds the sdist + wheel and publishes. Verify:uvx datanika-mcp --helpresolves from PyPI.
First-release setup: a one-time PyPI trusted-publisher must be configured (project
datanika-mcp, repodatanika-io/datanika-core, workflowrelease-mcp.yml, environmentpypi) before the first tag will publish. See the infra human-locker.
License
AGPL-3.0 — same as the core Datanika platform.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datanika_mcp-0.2.0.tar.gz.
File metadata
- Download URL: datanika_mcp-0.2.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b4a408020ef66905354992a432c27114b2311cdc1bb12662c9aa8588b28f683
|
|
| MD5 |
65c795f686d48299a4092cddd62cc8f7
|
|
| BLAKE2b-256 |
240c8634d1086de646389b71cd5766d884f0aa1a7bc107cbdb7631b928a40ae8
|
Provenance
The following attestation bundles were made for datanika_mcp-0.2.0.tar.gz:
Publisher:
release-mcp.yml on datanika-io/datanika-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datanika_mcp-0.2.0.tar.gz -
Subject digest:
2b4a408020ef66905354992a432c27114b2311cdc1bb12662c9aa8588b28f683 - Sigstore transparency entry: 2212103468
- Sigstore integration time:
-
Permalink:
datanika-io/datanika-core@1262b45096820beb114d98888d5d6c781fb99041 -
Branch / Tag:
refs/tags/mcp-v0.2.0 - Owner: https://github.com/datanika-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-mcp.yml@1262b45096820beb114d98888d5d6c781fb99041 -
Trigger Event:
push
-
Statement type:
File details
Details for the file datanika_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: datanika_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1adf7a0adc32868d10160af99f7bed208a161698ac011deb4d2ec1e850e8c97
|
|
| MD5 |
7d1d12988711aa926506e962cdcd407b
|
|
| BLAKE2b-256 |
4af4379ac37ca884522a1d82d7aff3266ab5ec59b0862b753c3097dc49da173d
|
Provenance
The following attestation bundles were made for datanika_mcp-0.2.0-py3-none-any.whl:
Publisher:
release-mcp.yml on datanika-io/datanika-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datanika_mcp-0.2.0-py3-none-any.whl -
Subject digest:
f1adf7a0adc32868d10160af99f7bed208a161698ac011deb4d2ec1e850e8c97 - Sigstore transparency entry: 2212103486
- Sigstore integration time:
-
Permalink:
datanika-io/datanika-core@1262b45096820beb114d98888d5d6c781fb99041 -
Branch / Tag:
refs/tags/mcp-v0.2.0 - Owner: https://github.com/datanika-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-mcp.yml@1262b45096820beb114d98888d5d6c781fb99041 -
Trigger Event:
push
-
Statement type: