Skip to main content

A native MCP server integration for Chakra databases

Project description

Chakra MCP Server

License: MIT

mcp

A native integration with Anthropic's Model Context Protocol (MCP). Allows you to interact with your database and subscribed data shares using natural language.

Features

  • Natural Language Queries: Query your database using natural language.
  • Data Share Interactions: Interact with subscribed data shares. For example, if you have subscribed to a financial data share, you can ask questions like "What is the stock price of Tesla?"
  • Database Management: Create, update, and delete tables.

Demo

https://github.com/user-attachments/assets/0d1b3588-4dec-4fae-8396-d1794177a23c

Prerequisites

  • Python 3.11+
  • uv
  • Chakra Account - sign up here

Finding your DB Session Key

  1. Login to the Chakra Console
  2. Select Settings
  3. Navigate to the releveant database and copy the DB Session Key (not the access key or secret access key)

https://github.com/user-attachments/assets/9f1c1ab8-cb87-42a1-8627-184617bbb7d7

Installation

Automated Using OpenTools (Easier)

TBD

Manual Setup (More Work)

Clone the repository by running:

git clone https://github.com/Chakra-Network/mcp-server.git

Install dependencies using uv:

uv sync

Add the following to your claude_desktop_config.json file:

  • On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "chakra": {
      "command": "uv",
      "args": [
          "--directory",
          "/path/to/mcp-server",
          "run",
          "src/server.py"
      ],
      "env": {
        "db_session_key": "YOUR_DB_SESSION_KEY"
      }
    }
  }
}

Architecture

architecture

Disclaimers

  • MCP is extremely early. The experience in Claude Desktop is suboptimal - every time you use the server, you have to grant access explicitly. This is a design decision on Anthropic's part and is not yet configurable.
  • Setup is rough around the edges. We have worked closely with the folks at OpenTools to make this as seamless as possible, but there is room for improvement. We are looking forward to an MCP GUI experience in the future, but for now, users must use the command-line.
  • Today, the server runs on the user's local machine. Anthropic's roadmap includes a hosted server option, which we will support. This will make authentication, setup, and performance much better.

License

MIT License - see LICENSE file for details.

Support

For support and questions, please open an issue in the GitHub repository or reach out to us on Discord.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chakra_mcp-0.1.1.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chakra_mcp-0.1.1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file chakra_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: chakra_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for chakra_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fe2646a12b3556e0fa1e2c93bdac44d10b90273861fc03f2b5c3a01a6fdce84a
MD5 1ab2c59d9d3afe330ac5dbaa1f35c6ec
BLAKE2b-256 287f1837485b458d5fe76a5503590c30885bce73edc2b6da901752e4764aeac7

See more details on using hashes here.

File details

Details for the file chakra_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: chakra_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for chakra_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bfc35926f48a27a6da98c41a21dac465bae4002267d09c4a3b216dcf8f926393
MD5 51f97c4d9b5bb8db16b1a938e16b5853
BLAKE2b-256 1c47a9608422a7612443cf295830b1d6e1e3eb75d4322e8f8d697b822c9b3de2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page