Skip to main content
MCP server CX Codex

semahash — Claude Code MCP server: what it does, how to install

This MCP server gives agents shared, hash-based references for semantic patterns. Use it when several agents need to check the same meaning.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add semahash -- uvx semahash
Open on GitHub

What semahash does

semahash treats semantic patterns as content-addressed references. An agent can search the vocabulary, resolve a name to its canonical reference, and run a handshake against that reference. The supplied description covers 617 cognitive patterns.

The MCP service exposes tools such as sema_search, sema_lookup, and sema_handshake. It can connect to Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, or Gemini CLI through uvx. A matching full reference identifies the resolved hashed content; it does not establish correctness or semantic equivalence.

The setup commands depend on uvx being available as the launcher. The server uses standard MCP stdio, while the CLI can work with a private pattern database instead of the bundled vocabulary.

What it helps with

  • coordinate terms across several agents
  • search a vocabulary by semantic topic
  • check a canonical reference before use
  • run a handshake at an agent boundary
  • use a private pattern registry

Example prompts for the agent

  • Search semahash for coordination patterns and run a handshake on StateLock.
  • Resolve StateLock, then verify its canonical reference before relying on it.
  • Find a pattern about locking and show its complete definition.

How to install semahash

Platform CLI

claude mcp add semahash -- uvx semahash

uvx runs the command named after the package; if the README names another one, use uvx --from semahash <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about semahash

How do I install semahash in Claude Code?

Run claude mcp add semahash -- uvx semahash. Claude Code can then start the MCP server.

What does semahash do?

It searches and resolves semantic patterns, provides verifiable content references, and runs handshakes between agents.

What does a matching semahash reference prove?

A complete match identifies the resolved hashed content. It does not prove that the content is correct or semantically equivalent.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor