MCP HubMCP Hub
theronic

datomic-mcp

by: theronic

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

11created 16/03/2025
Visit
Datomic
AI

📌Overview

Purpose: To provide a server framework for Datomic MCP that facilitates easy deployment and configuration.

Overview: The Datomic MCP Server is built with the Modex framework, designed to simplify the setup of Datomic functions and improve overall workflow for developers utilizing Datomic as their database solution.

Key Features:

  • Easy Configuration: The server can be easily set up by defining the environment variable DATOMIC_URI, enabling quick adaptation to different Datomic instances.

  • Commercial and Open Source Licensing: The framework is free for non-commercial use under GPLv3 and offers a low-cost commercial license for proprietary developments, emphasizing accessibility and flexibility for various users.


Datomic MCP Server

Built with Modex.

Set environment variable DATOMIC_URI in your MCP config. Example:

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

  • Concurrent queries (async message handling since Modex 0.3.0)
  • datomic.api/q
  • datomic.api/datoms
  • datomic.api/with (via q-with tool)
  • datomic.api/pull
  • datomic.api/pull-many
  • datomic.api/entity
  • datomic.api/touch
  • 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.

If you find a bug in datomic-mcp or Modex, please report it.

Note that Modex itself has a different licence.

Author(s)