Datascript
๐ Datascript MCP Server
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
Maintainer
Works with
Installation
Manual Installation
npx datascriptConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-serverVerify Clojure installation
Confirm Clojure CLI tools and Java are correctly installed before attempting to run the server.
clojure --version
java -versionStart 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:mcpConfigure 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"
]
}
}
}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.
Datascript Alternatives โ Similar Databases Servers
Looking for alternatives to Datascript? Here are other popular databases servers you can use with Claude, Cursor, and VS Code.
Excelize
โ 20.6kGo language library for reading and writing Microsoft Excelโข (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
MCP Toolbox for Databases
โ 15.3kOpen source MCP server specializing in easy, fast, and secure tools for Databases.
DBHub
โ 2.8kA universal database gateway MCP server that enables AI assistants to connect to and query multiple databases (PostgreSQL, MySQL, MariaDB, SQL Server, SQLite) with support for schema exploration, SQL execution, and secure connections via SSH tunnels.
Tabularis
โ 2.1kA lightweight, cross-platform database client for developers. Supports MySQL, PostgreSQL and SQLite. Hackable with plugins. Built for speed, security, and aesthetics.
Postgres AI Guide
โ 1.7kMCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
Anyquery
โ 1.7k๐๏ธ ๐ โ๏ธ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.
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.
Set Up Datascript in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.