https://github.com/theronic/datomic-mcp
Datomic MCP Server so your AI model can query your database (uses Modex MCP library)
https://github.com/theronic/datomic-mcp
Last synced: 4 months ago
JSON representation
Datomic MCP Server so your AI model can query your database (uses Modex MCP library)
- Host: GitHub
- URL: https://github.com/theronic/datomic-mcp
- Owner: theronic
- Created: 2025-03-16T10:58:56.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T08:49:23.000Z (7 months ago)
- Last Synced: 2025-07-04T03:01:57.311Z (4 months ago)
- Language: Clojure
- Size: 10.7 KB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - Datomic Mcp - Provides a JSON-RPC interface to Datomic databases through the MCP protocol, enabling schema exploration and Datalog query execution. This makes it a specialized MCP server for interacting with Datomic. ([Read more](/details/datomic-mcp.md)) `mcp` `database` `datomic` `json-rpc` (Database & Messaging MCP Servers)
- awesome-mcp-servers - **datomic-mcp** - Datomic MCP Server so your AI model can query your database (uses Modex MCP library) `clojure` `mcp` `server` `database` `ai` `git clone https://github.com/theronic/datomic-mcp` (AI/ML)
- awesome-mcp-servers - **datomic-mcp** - Datomic MCP Server so your AI model can query your database (uses Modex MCP library) `clojure` `mcp` `server` `database` `ai` `git clone https://github.com/theronic/datomic-mcp` (🤖 AI/ML)
README
# Datomic MCP Server
Built with [Modex](https://github.com/theronic/modex).
Set environment variable `DATOMIC_URI` in your MCP config. Example below.
## Build Uberjar & Configure Claude Desktop
```json
{
"mcpServers": {
"modex-datomic-mcp": {
"command": "java",
"args": ["-jar", "/Users/petrus/code/datomic-mcp/target/theronic-datomic-mcp-0.3.0.jar"],
"env": {"DATOMIC_URI": ""}
}
},
"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](http://petrustheron.com)