Query. Visualize. Extend. AI. A powerful Clojure-based MCP server built for querying DataScript and integrating with AI workflows.
- Datascript MCP Server + Visualization MCP Server
Run with Clojure CLI:
clojure -X:mcp
Or from Emacs REPL:
(mcp-server)
Use the following command to verify that the server is up and responding to JSON-RPC:
echo '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test", "version": "1.0"}}}' \
| /usr/local/bin/clojure -M -m datascript-mcp.core
Expected response:
Datascript MCP Server running on STDIO transport.
{"jsonrpc":"2.0","method":"notifications/tools/list_changed"}
...
{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2024-11-05","capabilities":{"logging":{},"tools":{"listChanged":true}},"serverInfo":{"name":"datascript-server","version":"0.1.0"}}}
Example client setup for launching the server from Claude Desktop:
{
"datascript-mcp": {
"command": "/bin/bash",
"args": [
"-c",
"cd /Users/clojure/Desktop/datascript-mcp-server && /usr/local/bin/clojure -M -m datascript-mcp.core"
]
}
}
- Import and query any DataScript dataset
- Generate and insert AI-created data on the fly
- Connect to Datomic for hybrid querying
- Visualize relationship graphs and entity networks ๐ Visualization MCP Server
- Support Datahike's MCP
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with Clojure. Powered by DataScript. Inspired by the future of intelligent querying. In the Source we trust.