Peaka MCP server for text2SQL and project data exploration

Peaka MCP server for text2SQL and project data exploration

peaka-mcp-server•bypeakacom

An MCP server that connects LLMs to Peaka projects so they can list projects, inspect catalogs, schemas, tables and columns, and run SQL queries.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Exposes project-scoped tools that take a projectId, with peaka_list_projects to discover accessible projects.
  • •Lets models inspect project metadata, catalogs, schemas, tables, columns, relations and table statistics.
  • •Executes SQL queries and can reuse question/sql pairs from a golden SQL vector store.
  • •Manages table caches, saved queries, materialized query refreshes, connections and semantic catalogs.

BEST FOR

  • •Analysts who want an LLM to explore Peaka project schemas and answer questions with SQL.
  • •Teams needing to build, schedule and refresh saved or materialized queries through an MCP client.
  • •Users optimizing query performance by caching tables and refreshing caches incrementally.

ABOUT PEAKA-MCP-SERVER

Peaka MCP server for text2SQL and project data exploration is cataloged as an MCP server attributed to peakacom. An MCP server that connects LLMs to Peaka projects so they can list projects, inspect catalogs, schemas, tables and columns, and run SQL queries. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Peaka MCP server for text2SQL and project data exploration are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server know which Peaka project to use?

The server is stateless about project selection; each project-scoped tool receives its own projectId, and clients can call peaka_list_projects to find an accessible project id.

Can it reuse previously written SQL instead of generating new queries?

Yes. The peaka_query_golden_sqls tool queries question/sql pairs from Peaka's golden SQL vector store, and a matching existing query can be reused directly.

What happens when a cache is deleted?

Deleting a cache does not affect the underlying table.

Upstream README

View this exact version on GitHub

README.md · 50d041bc6022 · Fetched 2026-11-13 11:37:26 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

peaka-mcp-server

Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems.

Peaka Model Context Protocol server that provides access to Peaka's text2SQL capabilities.

This server enables LLMs to inspect schemas and execute sql queries on provided Peaka projects.

Components

Resources

  • peaka_sql_query_rule_set
    • Peaka SQL Query Rule Set is guidelines for writing sql queries for Peaka.
  • peaka_artifact_template
    • Style guide and HTML template for generating visual reports, dashboards, and artifacts from Peaka query results.

Tools

Every project-scoped tool takes a projectId argument. If the MCP client does not already know the projectId, it should call peaka_list_projects first and pass the chosen id to subsequent calls. The server itself is stateless with respect to project selection — each call carries its own projectId.

  • peaka_list_projects
    • List all projects accessible with the current API key. For Partner API keys, enumerates projects across all organizations and workspaces. For Project API keys, returns the single project bound to the key.
  • peaka_query_golden_sqls
    • Query question/sql pairs from Peaka's golden sql vector store. If an existing query matches the user's question, it can be reused directly.
  • peaka_execute_sql_query
    • Runs the given sql query on Peaka.
  • peaka_get_project_metadata
    • Get metadata for all catalogs, schemas, and tables in the Peaka project in a single call. Optionally filter by catalogId and/or schemaName.
  • peaka_list_catalogs
    • List all available catalogs in the Peaka project. Returns catalog names, types, and connection info.
  • peaka_list_schemas
    • List all available schemas for a given catalog in the Peaka project.
  • peaka_list_tables
    • List all available tables for a given catalog and schema in the Peaka project.
  • peaka_list_columns
    • List all columns for a given table in the Peaka project. Returns column names, data types, and constraints.
  • peaka_get_relations
    • Get table relationships (foreign keys) for a catalog. Useful for constructing accurate JOINs.
  • peaka_get_table_statistics
    • Get column-level statistics for a table, including distinct-value fractions per column.
  • peaka_create_cache
    • Create a cache for a table in the Peaka project. Caching a table improves query performance by storing the data locally.
  • peaka_create_cache_batch
    • Create caches for multiple tables in a single call. Preferred over repeated peaka_create_cache calls.
  • peaka_get_cache_statuses
    • Get all cache statuses for tables in the Peaka project, including current caching state, execution history, and progress.
  • peaka_refresh_cache_full
    • Trigger a full refresh on an existing cache.
  • peaka_refresh_cache_incremental
    • Trigger an incremental update on an existing cache, fetching only new or changed rows.
  • peaka_update_cache
    • Update cache settings (schedules) on an existing cache. Replaces both schedules entirely each call.
  • peaka_delete_cache
    • Delete an existing cache; the underlying table is not affected.
  • peaka_list_queries
    • List all saved queries in the Peaka project. Returns query names, SQL content, and whether they are plain or materialized.
  • peaka_get_query
    • Read a single saved query by its ID. Returns the full query object including SQL, type, and the materialized-query refresh schedule.
  • peaka_execute_query
    • Execute a saved query by its ID in the Peaka project.
  • peaka_create_query
    • Create a named, saved query in the project's semantic layer. Returns the created query including its ID. For materialized queries, accepts an optional schedule to set the auto-refresh cadence — {type: "interval", repeatDuration: "PT6H"}, {type: "cron", cronExpression: "0 0 * * *", timezone: "UTC"}, or {type: "none"} to disable.
  • peaka_update_query
    • Update an existing saved query's display name, SQL body, and/or auto-refresh schedule (interval, cron, or {type: "none"} to disable; materialized queries only).
  • peaka_delete_query
    • Delete a saved query from the Peaka project.
  • peaka_refresh_materialized_query
    • Trigger a refresh on a materialized saved query. Use peaka_list_queries to find query IDs whose queryType is MATERIALIZED.
  • peaka_get_materialized_query_statuses
    • Inspect the auto-refresh state of materialized queries: last refresh status, last/next scheduled execution, and schedule settings. Pass a queryId for a single query or omit it to list all.
  • peaka_list_connections
    • List all data source connections in the Peaka project, including each connection's id, name, and type.
  • peaka_get_connection_detail
    • Get connection-specific configuration detail for a data source connection.
  • peaka_create_semantic_catalog
    • Create a semantic catalog in the Peaka project. A semantic catalog groups semantic tables (saved queries surfaced as queryable tables) under a single namespace.
  • peaka_create_semantic_table
    • Create a semantic table inside a semantic catalog, backed by a saved query. Requires catalogId, schemaName, tableName, and queryId.
  • peaka_delete_semantic_table
    • Delete a semantic table from a semantic catalog. The underlying saved query is not affected.
  • peaka_refresh_project_metadata
    • Refresh project metadata for a specific catalog. Long-running; triggers the refresh and polls for completion.
  • peaka_get_metadata_refresh_status
    • Check the current status of a metadata refresh job for a specific catalog.

Usage with Claude Desktop

  • Edit the configuration file config.json:
    • on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • on Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Add the following configuration to the mcpServers object:
{
  "mcpServers": {
    "peaka": {
      "command": "npx",
      "args": ["-y", "@peaka/mcp-server-peaka@latest"],
      "env": {
        "PEAKA_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Change the {PEAKA_API_KEY} with your project API Key. Check out Peaka Documentation for creating your API Key and follow detailed instructions by clicking here.

  • Restart Claude Desktop

Packaging as a Claude Desktop extension

This repo ships with a pack script that builds the server and then runs mcpb pack (from @anthropic-ai/mcpb) to produce a .mcpb bundle — a zip-like archive containing the built server and manifest.json that Claude Desktop can load as a custom MCP extension.

npm run pack

This produces peaka-mcp-server.mcpb at the repo root. To install it, open Claude Desktop → Settings → Extensions -> Advanced Settings -> Install Extension -> Select the .mcpb file -> Enter your API key when prompted and enable the extension.

Environment variables

You can use following environment variable for configuration:

NameDescriptionDefault Value
PEAKA_API_KEYProject API key for authenticating with Peaka services (stdio mode).-
PARTNER_API_BASE_URLBase URL for Peaka partner APIhttps://partner.peaka.studio/api/v1
OAUTH_ISSUERAuthorization server issuer, used to validate the iss claim of incoming access tokens (httpStream mode, required).-
OAUTH_JWKS_URIAuthorization server JWKS endpoint used to verify access-token signatures (httpStream mode, required).-
OAUTH_REQUIRED_SCOPEScope an access token must carry to be accepted (httpStream mode).user_access
OAUTH_RESOURCEExpected token audience (this MCP server's resource URL). When set, tokens whose aud does not match are rejected. Leave unset until the authorization server binds aud to the resource.-

Request timeout (httpStream)

The Partner API request timeout defaults to 60 seconds. Override it per connection with the timeoutSeconds query parameter on the MCP endpoint URL — for example https://mcp.peaka.studio/mcp?timeoutSeconds=120. This lets a slow or on-prem deployment be tuned from the URL without a rebuild.

The maximum is 600 seconds (10 minutes). A value above the maximum, or an absent/invalid one (non-numeric, zero, negative), falls back to the 60s default rather than being clamped — so a unit mistake like timeoutSeconds=60000 (meant as milliseconds) can't hold a request open for hours.

Contact

For feature requests and bugs, please create an issue in this repo. For further support, see the following resources:

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Peaka MCP server for text2SQL and project data exploration from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/peaka-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage