{"name":"dev.smartergpt/lex","slug":"smartergpt-lex","title":"Lex","description":"Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.","url":"https://mcp.market/server/smartergpt-lex","rating":null,"grade":"B","score":82,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":27,"stars":0,"forks":0,"downloads_week":211,"last_push_at":"2026-09-18T10:40:39.000Z","license":"MIT"},"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/SmarterGPT/lex","website":null,"version":"4.4.1","remotes":[],"packages":[{"registryType":"npm","identifier":"@smartergpt/lex-mcp","version":"4.4.1","transport":{"type":"stdio"},"environmentVariables":[{"description":"Project root directory for Lex runtime discovery. Defaults to current working directory.","format":"string","name":"LEX_WORKSPACE_ROOT"},{"description":"Frame-store backend: sqlite or postgres. Defaults to sqlite unless LEX_DATABASE_URL selects PostgreSQL.","format":"string","name":"LEX_STORE"},{"description":"Path to SQLite database file. Defaults to .smartergpt/lex/memory.db under the project root.","format":"string","name":"LEX_DB_PATH"},{"description":"Alias for LEX_DB_PATH (backwards compatibility). Same behavior.","format":"string","name":"LEX_MEMORY_DB"},{"description":"PostgreSQL connection URL for the compatibility adapter. Treat as secret because it may contain credentials.","format":"string","isSecret":true,"name":"LEX_DATABASE_URL"},{"description":"PostgreSQL password supplied separately when LEX_DATABASE_URL omits one.","format":"string","isSecret":true,"name":"LEX_POSTGRES_PASSWORD"},{"description":"Maximum PostgreSQL compatibility-adapter pool size. Defaults to 10.","format":"string","name":"LEX_POSTGRES_POOL_MAX"},{"description":"Set to any value to enable debug logging to stderr.","format":"string","name":"LEX_DEBUG"}]}],"tools":[],"scan":{"score":82,"grade":"B","scanned_at":"2026-09-19T00:28:17.826Z","report":{"scannerVersion":"0.1.3","scannedAt":"2026-09-19T00:28:17.765Z","components":{"code":{"score":25,"max":25,"notes":["4 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 1 days ago"]},"identity":{"score":7,"max":10,"notes":["registry namespace matches repository owner"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@smartergpt/lex-mcp","version":"4.4.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":1,"publishedAt":"2026-09-18T10:39:04.040Z","repositoryUrl":"git+https://github.com/SmarterGPT/lex-mcp.git","weeklyDownloads":211}],"repo":{"found":true,"owner":"SmarterGPT","repo":"lex","archived":false,"pushedAt":"2026-09-18T10:40:39Z","stars":0,"forks":0,"openIssues":32,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/325902051?v=4","ownerCreatedAt":"2026-09-07T05:15:32Z","license":"MIT"},"icon":{"url":null,"source":"none"},"presence":{"stars":0,"forks":0,"downloadsWeek":211,"license":"MIT","lastPushAt":"2026-09-18T10:40:39.000Z","score":27}}}},"grade_history":[{"kind":"restore","fromGrade":"C","toGrade":"B","reason":"score 82","createdAt":"2026-09-19T00:28:18.409Z"}],"reviews":[]}