MCPInstall
atlas-datahub-mcp logo

atlas-datahub-mcp

by Cognitive-Stack 1 stars Cognitive-Stack/atlas-datahub-mcp

Atlas DataHub MCP enables seamless AI interactions with data sources via MCP clients.

READMEmain

Atlas DataHub MCP Server 🚀

🔌 Compatible with Cline, Cursor, Claude Desktop, and any other MCP Clients!

Atlas DataHub MCP is also compatible with any MCP client

The Model Context Protocol (MCP) is an open standard that enables AI systems to interact seamlessly with various data sources and tools, facilitating secure, two-way connections.

The Atlas DataHub MCP server provides:

  • Seamless interaction with Azure Cosmos DB
  • Efficient record querying and management
  • Type-safe operations with TypeScript
  • Support for structured metadata and agent context states

Prerequisites 🔧

Before you begin, ensure you have:

  • Azure Cosmos DB Account and Connection String
  • Claude Desktop or Cursor
  • Node.js (v20 or higher)
  • Git installed (only needed if using Git installation method)

Atlas DataHub MCP server installation ⚡

Running with NPX

npx -y atlas-datahub-mcp@latest

Installing via Smithery

To install Atlas DataHub MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @atlas-datahub/mcp --client claude

Configuring MCP Clients ⚙️

Configuring Cline 🤖

The easiest way to set up the Atlas DataHub MCP server in Cline is through the marketplace with a single click:

  1. Open Cline in VS Code
  2. Click on the Cline icon in the sidebar
  3. Navigate to the "MCP Servers" tab (4 squares)
  4. Search "Atlas DataHub" and click "install"
  5. When prompted, enter your Azure Cosmos DB connection string

Alternatively, you can manually set up the Atlas DataHub MCP server in Cline:

  1. Open the Cline MCP settings file:
# For macOS:
code ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

# For Windows:
code %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
  1. Add the Atlas DataHub server configuration to the file:
{
  "mcpServers": {
    "atlas-datahub-mcp": {
      "command": "npx",
      "args": ["-y", "atlas-datahub-mcp@latest"],
      "env": {
        "AZURE_COSMOS_CONNECTION_STRING": "your-connection-string-here",
        "AZURE_COSMOS_DATABASE_NAME": "your-database-name",
        "AZURE_COSMOS_CONTAINER_NAME": "your-container-name"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
  1. Save the file and restart Cline if it's already running.

Configuring Cursor 🖥️

Note: Requires Cursor version 0.45.6 or higher

To set up the Atlas DataHub MCP server in Cursor:

  1. Open Cursor Settings
  2. Navigate to Features > MCP Servers
  3. Click on the "+ Add New MCP Server" button
  4. Fill out the following information:
    • Name: Enter a nickname for the server (e.g., "atlas-datahub-mcp")
    • Type: Select "command" as the type
    • Command: Enter the command to run the server:
    env AZURE_COSMOS_CONNECTION_STRING=your-connection-string AZURE_COSMOS_DATABASE_NAME=your-database AZURE_COSMOS_CONTAINER_NAME=your-container npx -y atlas-datahub-mcp@latest
    

    Important: Replace the placeholder values with your actual Azure Cosmos DB configuration

Configuring the Claude Desktop app 🖥️

For macOS:

# Create the config file if it doesn't exist
touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

# Opens the config file in TextEdit
open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

For Windows:

code %APPDATA%\Claude\claude_desktop_config.json

Add the Atlas DataHub server configuration:

{
  "mcpServers": {
    "atlas-datahub-mcp": {
      "command": "npx",
      "args": ["-y", "atlas-datahub-mcp@latest"],
      "env": {
        "AZURE_COSMOS_CONNECTION_STRING": "your-connection-string-here",
        "AZURE_COSMOS_DATABASE_NAME": "your-database-name",
        "AZURE_COSMOS_CONTAINER_NAME": "your-container-name"
      }
    }
  }
}

Usage in Claude Desktop App 🎯

Once the installation is complete, and the Claude desktop app is configured, you must completely close and re-open the Claude desktop app to see the atlas-datahub-mcp server. You should see a hammer icon in the bottom left of the app, indicating available MCP tools.

Atlas DataHub Examples

  1. Query Records:
Query all records with partition key "user123" from the database.
  1. Insert Record:
Insert a new record with ID "doc123", partition key "user123", and data containing title and content.
  1. Update Record:
Update the record with ID "doc123" and partition key "user123" with new title and content.

Troubleshooting 🛠️

Common Issues

  1. Server Not Found

    • Verify the npm installation by running npm --version
    • Check Claude Desktop configuration syntax
    • Ensure Node.js is properly installed by running node --version
  2. Connection String Issues

    • Confirm your Azure Cosmos DB connection string is valid
    • Check the connection string is correctly set in the config
    • Verify no spaces or quotes around the connection string
  3. Database Access Issues

    • Verify the database and container exist in your Azure Cosmos DB account
    • Check the database permissions
    • Ensure the connection string has appropriate access rights

Acknowledgments ✨

  • Model Context Protocol for the MCP specification
  • Anthropic for Claude Desktop
  • Microsoft Azure for Cosmos DB

More Data Analysis & Visualization MCP servers

Similar servers from the same category.

CoinStats

coinstatshq

Provides real-time cryptocurrency market data, portfolio tracking, and news through direct access to the CoinStats API for retrieving coin information, market trends, wallet balances, and exchange integrations.

DataTrack+1

Vizro

mckinsey

Enables creation and validation of data visualization dashboards through natural language by generating chart code, validating configurations, and producing interactive Vizro visualizations with PyCafe preview links.

Data Analysis & Visualization

Provides a bridge between AI agents and Atlan data catalog services for searching, retrieving, traversing lineage, and updating asset metadata through the pyatlan SDK

search

Integrates tools powered by the Cloudflare DNS Analytics API to provide insights on DNS analytics and optimization.

Data Analysis & Visualization