Datomic MCP Server logo

Datomic MCP Server

by theronic

Datomic MCP Server provides a Modex-based server for interacting with Datomic databases. It supports concurrent queries and various Datomic API functions.

View on GitHub

Last updated: N/A

What is Datomic MCP Server?

Datomic MCP Server is a server built with Modex that allows you to interact with a Datomic database using a defined API. It provides a way to execute queries and other operations against a Datomic database in a structured manner.

How to use Datomic MCP Server?

To use the server, you need to build an uberjar and configure it within a Modex environment, such as Claude Desktop. Set the DATOMIC_URI environment variable in your MCP configuration to point to your Datomic database. The provided JSON example shows how to configure the server with the necessary command, arguments, and environment variables.

Key features of Datomic MCP Server

  • Concurrent queries (async message handling)

  • Support for various Datomic API functions (q, datoms, with, pull, pull-many, entity, touch, entid)

  • Configuration via environment variables

  • Built with Modex

Use cases of Datomic MCP Server

  • Exposing Datomic data to applications that require a specific API.

  • Building data-driven applications that need to query Datomic databases.

  • Integrating Datomic with other systems through a standardized interface.

  • Providing a secure and controlled access point to Datomic data.

FAQ from Datomic MCP Server

Is datomic.api/transact supported?

Currently, datomic.api/transact is not supported, and the author is unsure if it's a good idea to implement.

Are progress messages sent during connection?

Sending progress messages during connection is not yet implemented.

Is there cursor-based pagination?

Better cursor-based pagination is planned but not yet implemented.

Is the db basis stable?

The db basis is currently not stable, with each query running (d/db conn), but this is easy to fix.

Is d/as-of support available?

d/as-of support is not yet implemented but is related to the stable basis issue.