A native Clojure implementation of the Model Context Protocol that lets you build MCP servers without dealing with Anthropic's Java SDK. Implements stdio transport from the 2024-11-05 spec, so you can connect directly to Claude Desktop or other MCP clients. Provides macros for defining tools with parameter validation, type checking, and automatic error handling. The author uses it to expose production Datomic databases for automated support queries, and there's a complete example that shows how to define tools, create servers, and handle the full MCP lifecycle in pure Clojure.
claude mcp add --transport stdio theronic-modex uvx modex