Datascript

v1.0.0โ€ขDatabasesโ€ขstable

๐Ÿš€ Datascript MCP Server

datascriptmcpai-integration
Share:
38
Stars
0
Downloads
0
Weekly
0/5

What is Datascript?

Datascript is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐Ÿš€ datascript mcp server

๐Ÿš€ Datascript MCP Server

This server falls under the Databases category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • ๐Ÿš€ Datascript MCP Server

Use Cases

Manage and query Datascript database through MCP integration.
xlisp

Maintainer

LicenseMIT
Languageclojure
Versionv1.0.0
UpdatedMar 31, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx datascript

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Datascript

The Datascript MCP Server exposes a DataScript in-memory graph database to AI assistants through the Model Context Protocol, enabling Claude and other LLM clients to load, query, and manipulate Datascript datasets using natural language. DataScript is a Clojure/ClojureScript implementation of Datomic-style datalog queries, making it well-suited for graph-structured data with complex entity relationships. Developers exploring graph database patterns, knowledge representation, or Clojure-based data pipelines use this server to interact with DataScript databases through conversational AI.

Prerequisites

  • Clojure CLI tools (clojure) installed โ€” see clojure.org/guides/install_clojure
  • Java 11 or higher (required by Clojure)
  • Git to clone the repository
  • An MCP-compatible client such as Claude Desktop
1

Clone the repository

Clone the datascript-mcp-server repository from GitHub to get the Clojure source and project configuration.

git clone https://github.com/xlisp/datascript-mcp-server.git
cd datascript-mcp-server
2

Verify Clojure installation

Confirm Clojure CLI tools and Java are correctly installed before attempting to run the server.

clojure --version
java -version
3

Start the MCP server

Launch the DataScript MCP server using the Clojure CLI with the :mcp alias. The server starts in stdio mode for MCP client connectivity.

clojure -X:mcp
4

Configure Claude Desktop

Add the DataScript MCP server to your claude_desktop_config.json. The command must use absolute paths to both the clojure binary and the project directory.

{
  "mcpServers": {
    "datascript": {
      "command": "bash",
      "args": [
        "-c",
        "cd /Users/you/datascript-mcp-server && /usr/local/bin/clojure -M -m datascript-mcp.core"
      ]
    }
  }
}
5

Restart Claude Desktop and test

Restart Claude Desktop to pick up the new server. Ask Claude to load a DataScript dataset or run a datalog query to confirm the tools are available.

Datascript Examples

Client configuration

claude_desktop_config.json entry for the DataScript MCP server using bash to set the working directory and run Clojure.

{
  "mcpServers": {
    "datascript": {
      "command": "bash",
      "args": [
        "-c",
        "cd /Users/you/datascript-mcp-server && /usr/local/bin/clojure -M -m datascript-mcp.core"
      ]
    }
  }
}

Prompts to try

Example prompts for working with a DataScript database through Claude.

- "Load the sample dataset and show me all entities with their relationships"
- "Add data: create three people named Alice, Bob, and Carol with ages 30, 25, and 35"
- "Query all people older than 28 using datalog"
- "Show the parent-child relationships in the loaded graph"
- "Visualize the entity graph using the Visualization MCP Server"

Troubleshooting Datascript

clojure command not found when Claude Desktop launches the server

Claude Desktop may not inherit your shell PATH. Use the full absolute path to the clojure binary in the command (e.g., /usr/local/bin/clojure or /opt/homebrew/bin/clojure). Find it with `which clojure`.

Server starts but no tools appear in Claude Desktop

Check that the server is outputting valid JSON-RPC on stdout. Run `clojure -M -m datascript-mcp.core` directly in a terminal and look for initialization messages. Any println debug output on stdout will corrupt the MCP protocol stream.

JVM startup delay causes MCP client timeout

The JVM can take 2-5 seconds to start. Some MCP clients have short connection timeouts. If the client gives up before the server is ready, increase the client's timeout setting or use GraalVM native-image to compile the server to a native binary.

Frequently Asked Questions about Datascript

What is Datascript?

Datascript is a Model Context Protocol (MCP) server that ๐Ÿš€ datascript mcp server It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Datascript?

Follow the installation instructions on the Datascript GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Datascript?

Datascript works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Datascript free to use?

Yes, Datascript is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Databases MCP Servers

Explore all databases servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "datascript": { "command": "npx", "args": ["-y", "datascript"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

Ready to use Datascript?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides