Lex
Rank #8,099dev.smartergpt/lex
Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.
What you can do with Lex
Lex is a Model Context Protocol (MCP) server published by guffawaffle. It ranks #8,099 of 168,415 active servers on MCP Toplist. Lex is listed across 2 registries — Official MCP and PulseMCP, with 19 tracked versions. It was first listed on Nov 2, 2025 and most recently updated on Oct 20, 2026.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What Lex can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using Lex
The registry listing declares no required environment variables or authentication. This is declared metadata, not a verified install — the repository README is the authority.
Declared by the Official MCP Registry, last synced Nov 4, 2026. Not independently verified by MCP Toplist.
- LEX_WORKSPACE_ROOT · optional
- LEX_STORE · optional
- LEX_DB_PATH · optional
- LEX_MEMORY_DB · optional
- LEX_DATABASE_URL · optional
- LEX_POSTGRES_PASSWORD · optional
- LEX_POSTGRES_POOL_MAX · optional
- LEX_DEBUG · optional
Connect Lex and confirm it works
claude mcp add lex -e "LEX_WORKSPACE_ROOT=<your LEX_WORKSPACE_ROOT>" -e "LEX_STORE=<your LEX_STORE>" -e "LEX_DB_PATH=<your LEX_DB_PATH>" -e "LEX_MEMORY_DB=<your LEX_MEMORY_DB>" -e "LEX_DATABASE_URL=<your LEX_DATABASE_URL>" -e "LEX_POSTGRES_PASSWORD=<your LEX_POSTGRES_PASSWORD>" -e "LEX_POSTGRES_POOL_MAX=<your LEX_POSTGRES_POOL_MAX>" -e "LEX_DEBUG=<your LEX_DEBUG>" -- npx -y @smartergpt/lex-mcpReplace each placeholder with your own value before saving.
[mcp_servers.lex]
command = "npx"
args = ["-y", "@smartergpt/lex-mcp"]
[mcp_servers.lex.env]
LEX_WORKSPACE_ROOT = "<your LEX_WORKSPACE_ROOT>"
LEX_STORE = "<your LEX_STORE>"
LEX_DB_PATH = "<your LEX_DB_PATH>"
LEX_MEMORY_DB = "<your LEX_MEMORY_DB>"
LEX_DATABASE_URL = "<your LEX_DATABASE_URL>"
LEX_POSTGRES_PASSWORD = "<your LEX_POSTGRES_PASSWORD>"
LEX_POSTGRES_POOL_MAX = "<your LEX_POSTGRES_POOL_MAX>"
LEX_DEBUG = "<your LEX_DEBUG>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<your LEX_WORKSPACE_ROOT>",
"LEX_STORE": "<your LEX_STORE>",
"LEX_DB_PATH": "<your LEX_DB_PATH>",
"LEX_MEMORY_DB": "<your LEX_MEMORY_DB>",
"LEX_DATABASE_URL": "<your LEX_DATABASE_URL>",
"LEX_POSTGRES_PASSWORD": "<your LEX_POSTGRES_PASSWORD>",
"LEX_POSTGRES_POOL_MAX": "<your LEX_POSTGRES_POOL_MAX>",
"LEX_DEBUG": "<your LEX_DEBUG>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<your LEX_WORKSPACE_ROOT>",
"LEX_STORE": "<your LEX_STORE>",
"LEX_DB_PATH": "<your LEX_DB_PATH>",
"LEX_MEMORY_DB": "<your LEX_MEMORY_DB>",
"LEX_DATABASE_URL": "<your LEX_DATABASE_URL>",
"LEX_POSTGRES_PASSWORD": "<your LEX_POSTGRES_PASSWORD>",
"LEX_POSTGRES_POOL_MAX": "<your LEX_POSTGRES_POOL_MAX>",
"LEX_DEBUG": "<your LEX_DEBUG>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"lex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<your LEX_WORKSPACE_ROOT>",
"LEX_STORE": "<your LEX_STORE>",
"LEX_DB_PATH": "<your LEX_DB_PATH>",
"LEX_MEMORY_DB": "<your LEX_MEMORY_DB>",
"LEX_DATABASE_URL": "<your LEX_DATABASE_URL>",
"LEX_POSTGRES_PASSWORD": "<your LEX_POSTGRES_PASSWORD>",
"LEX_POSTGRES_POOL_MAX": "<your LEX_POSTGRES_POOL_MAX>",
"LEX_DEBUG": "<your LEX_DEBUG>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<your LEX_WORKSPACE_ROOT>",
"LEX_STORE": "<your LEX_STORE>",
"LEX_DB_PATH": "<your LEX_DB_PATH>",
"LEX_MEMORY_DB": "<your LEX_MEMORY_DB>",
"LEX_DATABASE_URL": "<your LEX_DATABASE_URL>",
"LEX_POSTGRES_PASSWORD": "<your LEX_POSTGRES_PASSWORD>",
"LEX_POSTGRES_POOL_MAX": "<your LEX_POSTGRES_POOL_MAX>",
"LEX_DEBUG": "<your LEX_DEBUG>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_WORKSPACE_ROOT": "<your LEX_WORKSPACE_ROOT>",
"LEX_STORE": "<your LEX_STORE>",
"LEX_DB_PATH": "<your LEX_DB_PATH>",
"LEX_MEMORY_DB": "<your LEX_MEMORY_DB>",
"LEX_DATABASE_URL": "<your LEX_DATABASE_URL>",
"LEX_POSTGRES_PASSWORD": "<your LEX_POSTGRES_PASSWORD>",
"LEX_POSTGRES_POOL_MAX": "<your LEX_POSTGRES_POOL_MAX>",
"LEX_DEBUG": "<your LEX_DEBUG>"
}
}
}
}Replace each placeholder with your own value before saving.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
When to choose another server
No task-specific alternatives are catalogued for Lexyet; the list above is its publisher's other servers.
What changed, and when this was checked
- First listed
- Nov 2, 2025
- Latest version published
- Oct 20, 2026
- Version history
- 19 versions tracked (below)
- Requirements evidence
- Declared by the Official MCP Registry, last synced Nov 4, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Oct 20, 2026
- Official MCP ↗listed since Apr 25, 2026 · still listed
- PulseMCP ↗listed since May 22, 2026 · still listed
- Official MCP ↗listed since Jul 24, 2026 · still listed
Do you maintain Lex? to correct or enrich this profile.
Available versions (19)
| Version | Published |
|---|---|
| 4.4.4 | Oct 20, 2026 |
| 4.4.3 | Oct 20, 2026 |
| 4.4.2 | Oct 20, 2026 |
| 4.4.1 | Sep 18, 2026 |
| 4.4.0 | Sep 17, 2026 |
| 4.3.0 | Sep 17, 2026 |
| 4.2.0 | Sep 5, 2026 |
| 4.1.0 | Sep 5, 2026 |
| 4.0.4 | Aug 29, 2026 |
| 4.0.3 | Aug 28, 2026 |
| 3.0.1 | Jul 21, 2026 |
| 3.0.0 | Jul 19, 2026 |
| 2.10.0 | Jul 17, 2026 |
| 2.9.1 | Jul 16, 2026 |
| 2.8.0 | Jul 11, 2026 |
| 2.1.2 | Feb 1, 2026 |
| 1.0.2 | Dec 31, 2025 |
| 1.0.1 | Dec 31, 2025 |
| 0.1.0 | Nov 25, 2024 |
Ranks ahead of 160,316 of 168,415 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/dev.smartergpt%2Flex)<a href="https://mcptoplist.com/server/dev.smartergpt%2Flex"><img src="https://mcptoplist.com/badge/dev.smartergpt%2Flex.svg" alt="MCP Toplist: Top 5% of 168,415" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains Lex?
- Lex is maintained by guffawaffle, which publishes 2 MCP servers (30 total versions) tracked on MCP Toplist.
- Is Lex listed on the Official MCP Registry?
- Yes — Lex is listed on the Official MCP Registry, alongside PulseMCP.
- How many versions does Lex have?
- MCP Toplist tracks 19 versions of Lex, most recently published on Oct 20, 2026.
- Where can I find the source code for Lex?
- The source code for Lex is hosted at github.com/guffawaffle/lex.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.