Datomic MCP Server

by theronic

26 stars
182 downloads
Not rated
GitHub

About

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

Details

Author
theronic
GitHub stars
26
Downloads
182
Categories
Other

- Supports concurrent queries with async message handling
- Exposes datomic.api/q as an MCP tool
- Exposes datomic.api/datoms as an MCP tool
- Provides datomic.api/with via the q-with tool
- Exposes datomic.api/pull and pull-many tools
- Supports entity, touch, and entid operations

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Datomic MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run the provided Java uberjar and configure the DATOMIC_URI environment variable in your MCP client settings (e.g., Claude Desktop). The server currently supports query, datoms, with, pull, pull-many, entity, touch, and entid operations through MCP tools.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "datomic mcp server": {
            "modex-datomic-mcp": {
                "command": "java",
                "args": [
                    "-jar",
                    "/Users/petrus/code/datomic-mcp/target/theronic-datomic-mcp-0.3.0.jar"
                ],
                "env": {
                    "DATOMIC_URI": "<your datomic URI here>"
                }
            }
        }
    }
}

McpServers

{
    "modex-datomic-mcp": {
        "command": "java",
        "args": [
            "-jar",
            "/Users/petrus/code/datomic-mcp/target/theronic-datomic-mcp-0.3.0.jar"
        ],
        "env": {
            "DATOMIC_URI": "<your datomic URI here>"
        }
    }
}

Datomic MCP Server

Built with Modex.

Set environment variable DATOMIC_URI in your MCP config. Example below.

Build Uberjar & Configure Claude Desktop

{
  "mcpServers": {
    "modex-datomic-mcp": {
      "command": "java",
      "args": ["-jar", "/Users/petrus/code/datomic-mcp/target/theronic-datomic-mcp-0.3.0.jar"],
      "env": {"DATOMIC_URI": "<your datomic URI here>"}
    }
  },
  "globalShortcut": ""
}

Datomic API Support

- [x] Concurrent queries (async message handling since Modex 0.3.0)
- [x] datomic.api/q
- [x] datomic.api/datoms
- [x] datomic.api/with (via q-with tool)
- [x] datomic.api/pull
- [x] datomic.api/pull-many
- [x] datomic.api/entity
- [x] datomic.api/touch
- [x] datomic.api/entid
- [ ] datomic.api/transact – not sure if good idea :)
- [ ] Send Progress Messages Connection Progress
- [ ] Better cursor-based pagination
- [ ] Stable db basis (currently each query runs (d/db conn)) – easy to fix.
- [ ] d/as-of support. Related to basis above.

License

MIT Licence. Free for commercial & non-commercial use.

All I ask is that if you find a bug in datomic-mcp or Modex, please report it :)

Note that Modex itself has a different licence.

Author(s)

- Petrus Theron

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.