chakra-mcp


Namechakra-mcp JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryA native MCP server integration for Chakra databases
upload_time2025-02-25 01:56:37
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT
keywords chakra mcp database
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Chakra MCP Server

[![PyPI version](https://badge.fury.io/py/chakra-mcp.svg)](https://badge.fury.io/py/chakra-mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Python versions](https://img.shields.io/pypi/pyversions/chakra-mcp.svg)](https://pypi.org/project/chakra-mcp/)

![mcp](https://github.com/user-attachments/assets/2c9e2b54-2691-43c7-928b-bd6e33cc5f73)


A native integration with Anthropic's [Model Context Protocol (MCP)](https://www.anthropic.com/news/model-context-protocol). 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](https://docs.astral.sh/uv/getting-started/installation/#installation-methods). On MacOS, you can install it using Homebrew: `brew install uv`.
- Claude Desktop
- Chakra Account - sign up [here](https://console.chakra.dev/)

## Finding your DB Session Key

1. Login to the [Chakra Console](https://console.chakra.dev/)
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)

Install [OpenTools](https://opentools.com/docs/quickstart) prerequisites. 

Then run:
```bash
npx opentools@latest i chakra
```


### Manual Setup (More Work)

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`

```json
{
  "mcpServers": {
    "chakra": {
      "command": "uvx",
      "args": ["chakra-mcp"],
      "env": {
        "db_session_key": "YOUR_DB_SESSION_KEY"
      }
    }
  }
}

```

## Architecture

<img width="1004" alt="architecture" src="https://github.com/user-attachments/assets/0984e717-afc5-4599-b2c0-eefa33d40441" />

## 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](https://modelcontextprotocol.io/development/roadmap#remote-mcp-support), 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](https://discord.gg/chakra-ai).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "chakra-mcp",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "chakra, mcp, database",
    "author": null,
    "author_email": "Chakra Labs Team <hi@chakra-labs.com>",
    "download_url": "https://files.pythonhosted.org/packages/b1/93/fa715e4827ad03512dd40ac46fb0ee9997c12abacc3ff054108e83c40247/chakra_mcp-0.2.0.tar.gz",
    "platform": null,
    "description": "# Chakra MCP Server\n\n[![PyPI version](https://badge.fury.io/py/chakra-mcp.svg)](https://badge.fury.io/py/chakra-mcp)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Python versions](https://img.shields.io/pypi/pyversions/chakra-mcp.svg)](https://pypi.org/project/chakra-mcp/)\n\n![mcp](https://github.com/user-attachments/assets/2c9e2b54-2691-43c7-928b-bd6e33cc5f73)\n\n\nA native integration with Anthropic's [Model Context Protocol (MCP)](https://www.anthropic.com/news/model-context-protocol). Allows you to interact with your database and subscribed data shares using natural language.\n\n## Features\n- **Natural Language Queries**: Query your database using natural language.\n- **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?\"\n- **Database Management**: Create, update, and delete tables.\n\n## Demo\nhttps://github.com/user-attachments/assets/0d1b3588-4dec-4fae-8396-d1794177a23c\n\n## Prerequisites\n- Python 3.11+\n- [uv](https://docs.astral.sh/uv/getting-started/installation/#installation-methods). On MacOS, you can install it using Homebrew: `brew install uv`.\n- Claude Desktop\n- Chakra Account - sign up [here](https://console.chakra.dev/)\n\n## Finding your DB Session Key\n\n1. Login to the [Chakra Console](https://console.chakra.dev/)\n2. Select Settings\n3. Navigate to the releveant database and copy the DB Session Key (not the access key or secret access key)\n\nhttps://github.com/user-attachments/assets/9f1c1ab8-cb87-42a1-8627-184617bbb7d7\n\n## Installation\n\n### Automated Using OpenTools (Easier)\n\nInstall [OpenTools](https://opentools.com/docs/quickstart) prerequisites. \n\nThen run:\n```bash\nnpx opentools@latest i chakra\n```\n\n\n### Manual Setup (More Work)\n\nAdd the following to your `claude_desktop_config.json` file:\n- On MacOS: `~/Library/Application\\ Support/Claude/claude_desktop_config.json`\n- On Windows: `%APPDATA%/Claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"chakra\": {\n      \"command\": \"uvx\",\n      \"args\": [\"chakra-mcp\"],\n      \"env\": {\n        \"db_session_key\": \"YOUR_DB_SESSION_KEY\"\n      }\n    }\n  }\n}\n\n```\n\n## Architecture\n\n<img width=\"1004\" alt=\"architecture\" src=\"https://github.com/user-attachments/assets/0984e717-afc5-4599-b2c0-eefa33d40441\" />\n\n## Disclaimers \n\n- 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.\n- 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. \n- Today, the server runs on the user's local machine. Anthropic's roadmap includes a [hosted server option](https://modelcontextprotocol.io/development/roadmap#remote-mcp-support), which we will support. This will make authentication, setup, and performance much better. \n\n## License\n\nMIT License - see LICENSE file for details.\n\n## Support\n\nFor support and questions, please open an issue in the GitHub repository or reach out to us on [Discord](https://discord.gg/chakra-ai).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A native MCP server integration for Chakra databases",
    "version": "0.2.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/Chakra-Network/mcp-server/issues",
        "Documentation": "https://github.com/Chakra-Network/mcp-server#readme",
        "Homepage": "https://chakra.dev/",
        "Repository": "https://github.com/Chakra-Network/mcp-server"
    },
    "split_keywords": [
        "chakra",
        " mcp",
        " database"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "de002c9abdac56869c110b7ead104a48eaeba651dc556bf02990d407bc805221",
                "md5": "c9cab684c2625d5eb7a0adfe6adc60ad",
                "sha256": "ff8f1570845f86ab86b265c5bc708788bc69d20c19489862d3d266704ff5b4f9"
            },
            "downloads": -1,
            "filename": "chakra_mcp-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c9cab684c2625d5eb7a0adfe6adc60ad",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 23629,
            "upload_time": "2025-02-25T01:56:36",
            "upload_time_iso_8601": "2025-02-25T01:56:36.866553Z",
            "url": "https://files.pythonhosted.org/packages/de/00/2c9abdac56869c110b7ead104a48eaeba651dc556bf02990d407bc805221/chakra_mcp-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b193fa715e4827ad03512dd40ac46fb0ee9997c12abacc3ff054108e83c40247",
                "md5": "09d48db9e2f613c9048c27bc6bdc5c61",
                "sha256": "daa9e81fe0fefa7b72cbd1081be7609f8c8ce0c3d0fa9b49372e5f4dcc65eb7f"
            },
            "downloads": -1,
            "filename": "chakra_mcp-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "09d48db9e2f613c9048c27bc6bdc5c61",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 25053,
            "upload_time": "2025-02-25T01:56:37",
            "upload_time_iso_8601": "2025-02-25T01:56:37.944728Z",
            "url": "https://files.pythonhosted.org/packages/b1/93/fa715e4827ad03512dd40ac46fb0ee9997c12abacc3ff054108e83c40247/chakra_mcp-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-25 01:56:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Chakra-Network",
    "github_project": "mcp-server",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "chakra-mcp"
}
        
Elapsed time: 0.41953s