Modex icon

Modex

Createdtheronic

Augments AI models with tools, resources, and prompts using Clojure.

About

Modex is a Clojure library implementing the Model Context Protocol (MCP) to enhance AI models with tools, resources, and prompts. It provides native Clojure MCP server and client implementations, eliminating the need for Java SDKs or proxies. Modex allows integration with services like Datomic, enabling AI models to intelligently interact with databases and other systems for tasks like diagnosing support queries and automating recurring tasks.

Key Features

  • Provides macros for defining tools with argument validation
  • 64 GitHub stars
  • Supports stdio transport for MCP communication
  • Facilitates integration with Datomic databases
  • Implements Model Context Protocol (MCP) in Clojure
  • Includes server and client implementations

Use Cases

  • Exposing Datomic databases to AI models for querying schema and data
  • Enabling AI models to check server state and diagnose issues
  • Automating recurring support queries by integrating with production databases
Craft Better Prompts with AnyPrompt