MCP.Market

Lex MCP server

by Guffawaffle·io.github.Guffawaffle/lex·v1.0.2

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

A94/100grade A
What users say
No reviews yet
Be the first
Safety scan
A94/100

full report

Adoption
Growing

0 stars135 downloads/wk

Reviews

Write one

Nobody has reviewed Lex yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Lex tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 9 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Overall 94/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Lex compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
94/100
higher than 96% of 48,255 servers
Downloads a week
135
more than 69% of 12,191 servers with a package

Install Lex in Claude Code, Cursor or VS Code

Runs npx -y @smartergpt/lex-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add lex -- npx -y @smartergpt/lex-mcp
Add to Cursor

What the publisher says

From the Lex repository's README, as published. We do not edit it. Read it on GitHub

Lex

Lex remembers the work, not the conversation.

Your agent can read the code. Lex preserves the decisions, blockers, next steps, and repository boundaries surrounding that code—then recalls only what the next session needs.

Local-first. Inspectable. No transcript dump.

See the core loop · Should I use Lex? · Five-minute pilot · Agent evaluation · Documentation

The problem Lex solves

A coding agent can inspect the repository in front of it. What it cannot reliably recover is the work surrounding that code:

  • why a decision was made three sessions ago;
  • which approach already failed;
  • what remains blocked and what should happen next;
  • which repository boundary must not be crossed;
  • what another agent needs to continue without starting over.

Lex preserves that continuity as deliberate, high-signal Frames.

A Frame is a deliberate handoff, not continuous surveillance. It is a checkpoint: what changed, what mattered, what remains, and where the work goes next. Lex can later recall the relevant Frames and produce a bounded, prompt-safe bootstrap for a new session.

Work happens → Lex remembers what mattered → the next session continues

Start with remember, recall, and context. SQLite is the local default. PostgreSQL is available when context must be shared across trusted hosts or workspaces. Everything else is optional.

Remember → recall → continue

lex remember \
  --summary "Kept authentication token validation in API middleware" \
  --next "Add the service grant and rerun tests" \
  --modules unscoped \
  --blockers "Missing PermissionService grant"

lex recall "authentication"

lex context "authentication" --max-tokens 500

That is the core loop:

  • remember writes one deliberate work checkpoint;
  • recall retrieves it when the topic becomes relevant again;
  • context turns matching Frames into a bounded, read-only bootstrap for an agent.

What the next session gets

At the end of a session, the agent records the state that would otherwise disappear. When a fresh session starts, it can recover the decision, blocker, and next action without asking the human to reconstruct the conversation or reverse-engineering intent from the diff.

Decision: token validation belongs in API middleware
Blocker: the service grant is still missing
Next: add the grant and rerun the authentication tests

The value is not that Lex stored a record. The value is that the next session can continue.

Should I use Lex?

Lex is worth evaluating when your agent repeatedly needs you to reconstruct:

  • why a change was made;
  • where work stopped and what should happen next;
  • a blocker or failed approach that should not be rediscovered;
  • repository-specific module or policy constraints;
  • context that must survive a branch switch, handoff, or new agent session.

Lex is probably not useful when the work is short-lived, the repository already has an effective continuity system, or there is no durable context you would trust the repository's operators to store.

Ask your agent

The evaluation is intentionally read-only. Paste this into an agent that can inspect your repository:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Lex: common questions

Is Lex MCP server safe?
Yes, by our scan: it is graded A (94/100). Read the Lex safety report
How do I install Lex?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Lex need an API key?
No secret keys are declared. It reads 3 settings from the environment.
Is Lex maintained?
The last commit was 43 days ago (2026-09-22). The latest release is v1.0.2.
How does Lex compare with other MCP servers?
safety score 94/100 (higher than 96% of 48,255 servers); downloads a week 135 (more than 69% of 12,191 servers with a package). Full comparison.