drio
Open app

Datomic MCP Server

Source

Datomic MCP Server so your AI model can query your database (uses Modex MCP library)

Catalog onlyCatalog onlySTDIO

Overview

Datomic MCP Server is a tool that allows your AI model to query a database using the Modex MCP library.

To use the Datomic MCP Server, set the environment variable DATOMIC_URI with your Datomic URI, and build the Uberjar. You can then run the server using the provided command in the configuration.

  • Integration with Modex MCP library for database querying - Easy setup with environment variable configuration - Open-source under GPLv3 for non-commercial use
  1. Enabling AI models to access and query Datomic databases.
  2. Facilitating data retrieval for machine learning applications.
  3. Supporting developers in building applications that require database interactions.

Add to your AI client

Use these steps to connect Datomic MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "datomic-mcp-theronic": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-datomic-mcp-theronic"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "datomic-mcp-theronic": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-datomic-mcp-theronic"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "datomic-mcp-theronic": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-datomic-mcp-theronic"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "datomic-mcp-theronic": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-datomic-mcp-theronic"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "datomic-mcp-theronic": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-datomic-mcp-theronic"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "datomic-mcp-theronic": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-datomic-mcp-theronic"
      ]
    }
  }
}

FAQ

Is Datomic MCP Server free to use?

Yes! It is free for non-commercial use under the GPLv3 license.

Can I use Datomic MCP Server for commercial projects?

Yes, but you will need to purchase a commercial license for $20 to keep your changes private.

How do I obtain a commercial license?

You can contact the author at modex@petrus.co.za to obtain a commercial license.