EKOS
EKOS / MCP Server for Enterprise Knowledge

MCP Server for Enterprise Knowledge

EKOS is an open-source MCP server that gives AI agents structured, evidence-backed knowledge of your code, databases and documentation. Read-only, cited.

The Model Context Protocol (MCP) is how AI agents call tools. EKOS is an MCP server whose tools answer questions about your systems: what a table contains, what calls a function, what breaks if a column changes, what a status code means. It answers from a compiled knowledge ledger, not from a fresh search through files, and every answer cites the file and line it came from.

Start the server

ekos mcp serve --workspace /path/to/workspace                     # stdio (Claude Code, desktop clients)
ekos mcp serve --workspace /path/to/workspace --tcp 127.0.0.1:7331  # several clients, one server
ekos mcp serve --workspace /path/to/workspace --http 127.0.0.1:8080 # Streamable HTTP: VS Code, Visual Studio, ChatGPT

Register it with Claude Code:

claude mcp add ekos -- ekos --config /path/to/ekos.toml mcp serve --workspace /path/to/workspace

TCP and HTTP can require a bearer token. Bind them to loopback or a trusted network. See MCP Configuration.

What agents can ask

Tool What it answers
ekos_search find objects by name or meaning: lexical, vector or hybrid
ekos_query, ekos_retrieve a compiled answer as source-cited claims, plus the query plan behind it, with no LLM involved
ekos_state one object in full: properties, relationships and evidence
ekos_neighborhood, ekos_dependents, ekos_impact what is connected; what depends on this; what breaks, several hops out
ekos_ekl structured queries in EKOS's query language, including point in time (AS OF)
ekos_transformation_explain what a stored procedure, SQL view or ETL job does, step by step
ekos_semantics_lookup what a business term or a coded value means, with its review status
ekos_conflicts where sources disagree, for example the code and the live database
ekos_xref_check broken references found at commit; checks a table or routine name before the agent writes SQL
ekos_signoff_status the seven workflow steps and whether each review subject is validly signed off
ekos_audit, ekos_diff which run wrote a fact, and what changed since a date

The complete list, with arguments and limits: MCP Tools.

Read-only by design

Agents read EKOS knowledge. They do not change it. Every tool goes through a read-only runtime, except two review tools that append a review event, an opt-in note tool that writes only an inbox file, and the off-by-default live ClickHouse query tool, which records an audit event per query. Some decisions are deliberately human-only and have no MCP tool at all: signing off a source model, confirming a business definition, approving a database migration, promoting an agent's note, confirming that a payment was authorized. The read-only runtime is a type, not a promise, and a test that parses the MCP server fails if any human-only decision becomes reachable from it. Unknown tool arguments are refused rather than silently ignored, and a truncated result says so.

Why not just let the agent read the files?

It can, and for a question whose answer sits at a known line, a direct grep is cheapest. Most questions are not like that. On a real 2,022-file repository, answering from the compiled ledger took 67–93% fewer tokens than searching raw source. One case, where the agent already knew the exact line, went the other way, and is published too. See the benchmark.

Frequently asked questions

What does the EKOS MCP server do?

It gives AI agents tools that answer questions about your systems: what a table contains, what calls a function, what breaks if a column changes, what a stored procedure does. The answers come from knowledge EKOS has compiled from your code, databases and documents, and each one cites the file and line it came from.

Can an AI agent change data through the EKOS MCP server?

No. The server is read-only. The only exceptions are two review tools that append a review event, an opt-in tool that writes notes to an inbox file, and an off-by-default ClickHouse query tool that records an audit event. Decisions such as signing off a source model, approving a migration or confirming a business definition have no MCP tool at all.

Which transports does it support?

Stdio for Claude Code and desktop clients, TCP for several clients sharing one server, and MCP Streamable HTTP for clients that connect by URL, such as VS Code with GitHub Copilot, Visual Studio and ChatGPT. TCP and HTTP can require a bearer token.

How do I add EKOS to Claude Code?

Compile a workspace, then run claude mcp add ekos -- ekos --config /path/to/ekos.toml mcp serve --workspace /path/to/workspace.

Quickstart → Documentation → GitHub →