Lex

dev.smartergpt/lex

About Lex

Lex is an MCP server published by smartergpt.dev. Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.

It runs on your own machine: your AI client starts it from the npm package @smartergpt/lex-mcp at version 4.4.4.

It asks for 2 secrets: LEX_DATABASE_URL and LEX_POSTGRES_PASSWORD. Give it a key with the least access that still works.

Version 4.4.4 was published on 20 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
LEX_WORKSPACE_ROOTNoNoProject root directory for Lex runtime discovery. Defaults to current working directory.
LEX_STORENoNoFrame-store backend: sqlite or postgres. Defaults to sqlite unless LEX_DATABASE_URL selects PostgreSQL.
LEX_DB_PATHNoNoPath to SQLite database file. Defaults to .smartergpt/lex/memory.db under the project root.
LEX_MEMORY_DBNoNoAlias for LEX_DB_PATH (backwards compatibility). Same behavior.
LEX_DATABASE_URLNoYesPostgreSQL connection URL for the compatibility adapter. Treat as secret because it may contain credentials.
LEX_POSTGRES_PASSWORDNoYesPostgreSQL password supplied separately when LEX_DATABASE_URL omits one.
LEX_POSTGRES_POOL_MAXNoNoMaximum PostgreSQL compatibility-adapter pool size. Defaults to 10.
LEX_DEBUGNoNoSet to any value to enable debug logging to stderr.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/SmarterGPT/lex
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 2 secrets: LEX_DATABASE_URL, LEX_POSTGRES_PASSWORD
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via domain smartergpt.dev
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPass@smartergpt/lex-mcp@4.4.4 runs nothing at install
Code red flagsPassRead 5 files in @smartergpt/lex-mcp@4.4.4: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 5 files, including comments and the README

Popularity & health: 58 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity9 / 40

0 GitHub stars, 259 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity15 / 25

Last push 2026-10-21, last release 2026-10-20, 0 commits in 90 days.

Issue health14 / 15

368 closed of 395 issues.

Our checks20 / 20

0 warnings, each costing a fifth.

0 forks, 331 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry namedev.smartergpt/lex
PublisherDomain smartergpt.dev
How the name is verifiedName verified via domain smartergpt.dev. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm @smartergpt/lex-mcp 4.4.4 (stdio)
Version4.4.4
Published
Last updated
Source repositoryhttps://github.com/SmarterGPT/lex
WebsiteNone linked
CategoryProductivity & notes (assigned by keyword rule, not by hand)

Related servers in Productivity & notes