mcpbeat Sign in

Lex MCP Server

by guffawaffle Your server? Claim it
local only

Lex runs on your own machine — the client starts it, so there is no endpoint to ping. 211 installs a week from npm. Last commit 17 Sep 2026.

Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.

Installs per day peak 331 · avg 62 · -52% w/w
a month agotoday
211
Installs / week
npm · @smartergpt/lex-mcp
0
Stars
24 open issues
17 Sep 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What changed 11

Every tool that appeared, vanished or quietly changed what it asks for. Recorded since 8 September 2026. No other catalogue keeps this.

18 Sep the owner changed
17 Sep the owner changed
16 Sep the owner changed
15 Sep the owner changed
14 Sep the owner changed
13 Sep the owner changed
12 Sep the owner changed
11 Sep the owner changed
10 Sep the owner changed
9 Sep the owner changed
and 1 more, back to 8 September 2026

What the code does

We read the source, 7 d ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

File ships in the package but is absent from the source [пакет] index.mjs:1, [пакет] stdio.mjs:1
этот файл ставится пользователю, но в репозитории его нет
Package points at a different repository guffawaffle/lex
пакет @smartergpt/lex-mcp ссылается на guffawaffle/lex-mcp
Builds a database query by concatenation src/memory/store/postgres/behavioral-migrations.ts:178
      DROP POLICY IF EXISTS lex_behavioral_runtime_scope ON ${relation};
    let resolvedPath = path.join(currentDir, importPath);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add lex -- npx -y @smartergpt/lex-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lex": {
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.lex]
command = "npx"
args = ["-y", "@smartergpt/lex-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "lex": {
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "lex": {
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: LEX_WORKSPACE_ROOT (Root directory for the workspace. Defaults to current working directory.), LEX_MEMORY_DB (Path to SQLite database file. Defaults to .smartergpt/lex/lex.db in workspace root.), LEX_DEBUG (Set to any value to enable debug logging to stderr.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Lex

same job, measured the same way
Lex
by smartergpt

Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.

local only
Pensyve
by major7apps

Universal memory runtime for AI agents — episodic, semantic, and procedural memory.

answering
Mengram
by alibaizhanov

Long-term memory for AI agents: semantic facts, episodic events, and procedural workflows

answering
Tokenmaxxen MCP
by austinmunday

Collective episodic memory for AI coding agents — search, deposit, comment, showcase builds.

84 installs/wk local only
MCP Adr Analysis Server
by tosin2013

ADR drift detection, content safety, and decision memory for architectural decisions

1 092 installs/wk local only
Hokmah
by davidangularme

AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).

5 tools answering
Total Agent Memory
by vbcherepanov

Persistent local memory for coding agents: temporal knowledge graph, procedural and episodic recall

local only
Memwright
by bolnet

Embedded memory for AI agents with SQLite, pgvector, and Neo4j graph search.

108 installs/wk local only

Lex — questions

Answers built from our own checks of this server.

Why is there no uptime for Lex?
Lex runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @smartergpt/lex-mcp was installed 211 times last week.
How do I connect Lex?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @smartergpt/lex-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Lex?
The npm package @smartergpt/lex-mcp was installed 211 times in the last week. Week over week that is -52%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Lex open source?
Yes — it is published under the MIT licence, written in TypeScript, 0 stars on GitHub and 24 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.