Lex
Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.
Connector by smartergpt.dev · Domain verified by the MCP Registry
Chalk Labs
Need help deploying Lex?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/smartergpt-dev-lex
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 14 read · 1 write · 0 delete
- Secrets
- 2 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 15
Read from the source code; the running server may list different tools.
Read 14 · Look things up without changing anything.
atlas_analyzecontradictions_scandb_statsdestination_inspectframe_getframe_listframe_searchframe_validatehelphints_getpolicy_checksystem_introspect
Show 2 more tools
timeline_showturncost_calculate
Write 1 · Create, change, send or run things.
frame_create
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
LEX_DATABASE_URLLEX_POSTGRES_PASSWORD
Other settings (environment variables or headers).
LEX_DB_PATHLEX_DEBUGLEX_MEMORY_DBLEX_POSTGRES_POOL_MAXLEX_STORELEX_WORKSPACE_ROOT
Files it touches
- Any path the agent passes to its tools
Tools (15)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
atlas_analyzeExtract the experimental Code Index. Legacy name; alias: code_atlas (deprecated)
contradictions_scanScan frames for potential contradictions (conflicting information across frames). Returns pairs of frames with detected conflicts and confidence scores.
db_statsGet database statistics including frame count, storage size, and activity metrics. Useful for understanding memory usage and recent activity.
destination_inspectread-onlyPayload-free authorized destination snapshot for frame_create. Reads no Frames and performs no writes; requires the same authorization as frame_create.
frame_createStore a Frame (episodic memory snapshot). Alias: remember (deprecated)
frame_getRetrieve a specific frame by ID. Use when you know the exact frame ID. Alias: get_frame (deprecated)
frame_listList recent Frames, optionally filtered by branch or module. Returns each Frame plus optional Policy Neighborhood. Alias: list_frames (deprecated)
frame_searchSearch Frames by reference point, branch, or Jira ticket. Returns a Frame plus optional Policy Neighborhood. Alias: recall (deprecated)
frame_validateValidate frame input without storing (dry-run validation). Alias: validate_remember (deprecated)
helpGet usage help for Lex MCP tools including examples, required fields, related tools, and common workflows. Use this to understand how to use Lex tools effectively.
hints_getRetrieve hint details by hint ID. Hints are stable, cacheable advice snippets for error recovery. Hint IDs are provided in compact error responses (hintId field). Fetch hints once and cache them to minimize token usage. Alias: get_hints (deprecated)
policy_checkValidate code against policy rules from lexmap.policy.json
system_introspectDiscover the current state of Lex (available modules, policy, frame count, capabilities, error codes with metadata). Returns error code categories (validation, storage, policy, internal) and retryability hints for autonomous error handling. Alias: introspect (deprecated)
timeline_showShow visual timeline of Frame evolution for a ticket or branch. Alias: timeline (deprecated)
turncost_calculateCalculate Turn Cost governance metrics for a time period. Returns frame count, estimated tokens, and prompt count to help measure coordination overhead.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 25
- Last commit
- Oct 20, 2026 (11 days ago)
- Last release
- Oct 20, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
dev.smartergpt/lex- Version
- 4.4.4
- Auth
- API key
- Packages
- npm @smartergpt/lex-mcp
- License
- MIT
- Repository
- github.com/SmarterGPT/lex
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Same server elsewhere
Copies of this server published by others; search shows only one of them.
More from smartergpt.dev
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Lex running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Lex MCP server. Agent Mart. https://agentmart.dev/connectors/smartergpt-dev-lex (last updated 2026-10-24)