peaka-mcp-server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@peaka-mcp-serverList all Peaka projects I have access to."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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_setPeaka SQL Query Rule Set is guidelines for writing sql queries for Peaka.
peaka_artifact_templateStyle 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_projectsList 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_sqlsQuery 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_queryRuns the given sql query on Peaka.
peaka_get_project_metadataGet metadata for all catalogs, schemas, and tables in the Peaka project in a single call. Optionally filter by
catalogIdand/orschemaName.
peaka_list_catalogsList all available catalogs in the Peaka project. Returns catalog names, types, and connection info.
peaka_list_schemasList all available schemas for a given catalog in the Peaka project.
peaka_list_tablesList all available tables for a given catalog and schema in the Peaka project.
peaka_list_columnsList all columns for a given table in the Peaka project. Returns column names, data types, and constraints.
peaka_get_relationsGet table relationships (foreign keys) for a catalog. Useful for constructing accurate JOINs.
peaka_get_table_statisticsGet column-level statistics for a table, including distinct-value fractions per column.
peaka_create_cacheCreate a cache for a table in the Peaka project. Caching a table improves query performance by storing the data locally.
peaka_create_cache_batchCreate caches for multiple tables in a single call. Preferred over repeated
peaka_create_cachecalls.
peaka_get_cache_statusesGet all cache statuses for tables in the Peaka project, including current caching state, execution history, and progress.
peaka_refresh_cache_fullTrigger a full refresh on an existing cache.
peaka_refresh_cache_incrementalTrigger an incremental update on an existing cache, fetching only new or changed rows.
peaka_update_cacheUpdate cache settings (schedules) on an existing cache. Replaces both schedules entirely each call.
peaka_delete_cacheDelete an existing cache; the underlying table is not affected.
peaka_list_queriesList all saved queries in the Peaka project. Returns query names, SQL content, and whether they are plain or materialized.
peaka_execute_queryExecute a saved query by its ID in the Peaka project.
peaka_create_queryCreate a named, saved query in the project's semantic layer. Returns the created query including its ID.
peaka_update_queryUpdate an existing saved query's display name and/or SQL body.
peaka_delete_queryDelete a saved query from the Peaka project.
peaka_refresh_materialized_queryTrigger a refresh on a materialized saved query. Use
peaka_list_queriesto find query IDs whosequeryTypeisMATERIALIZED.
peaka_list_connectionsList all data source connections in the Peaka project, including each connection's id, name, and type.
peaka_get_connection_detailGet connection-specific configuration detail for a data source connection.
peaka_create_semantic_catalogCreate 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_tableCreate a semantic table inside a semantic catalog, backed by a saved query. Requires
catalogId,schemaName,tableName, andqueryId.
peaka_delete_semantic_tableDelete a semantic table from a semantic catalog. The underlying saved query is not affected.
peaka_refresh_project_metadataRefresh project metadata for a specific catalog. Long-running; triggers the refresh and polls for completion.
peaka_get_metadata_refresh_statusCheck the current status of a metadata refresh job for a specific catalog.
Related MCP server: SQLite MCP Server
Usage with Claude Desktop
Edit the configuration file
config.json:on macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonon Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration to the
mcpServersobject:
{
"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 packThis 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:
Name | Description | Default Value |
PEAKA_API_KEY | Project API key for authenticating with Peaka services. | - |
PARTNER_API_BASE_URL | Base URL for Peaka partner API | |
OAUTH_AUTHORIZATION_SERVER_URL | Protected-resource metadata URL advertised in the | - |
Contact
For feature requests and bugs, please create an issue in this repo. For further support, see the following resources:
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/peakacom/peaka-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server