Legislación federal mexicana vigente con fuente, checksum y vigencia para agentes de IA
Lex MCP Server
Published by SmarterGPTEpisodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 4.4.4
- SOURCE CHECKED
- Nov 29, 2026
Quick answers
How do I add Lex MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'LEX_DATABASE_URL=<your-lex-database-url>' --env 'LEX_POSTGRES_PASSWORD=<your-lex-postgres-password>' --transport stdio lex -- npx -y @smartergpt/lex-mcpReplace the <your-…> placeholder with your own LEX_DATABASE_URL and LEX_POSTGRES_PASSWORD.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_DATABASE_URL": "<your-lex-database-url>",
"LEX_POSTGRES_PASSWORD": "<your-lex-postgres-password>"
}
}
}
}Replace the <your-…> placeholder with your own LEX_DATABASE_URL and LEX_POSTGRES_PASSWORD.
CodexCommand
Run this in your terminal:
codex mcp add lex --env 'LEX_DATABASE_URL=<your-lex-database-url>' --env 'LEX_POSTGRES_PASSWORD=<your-lex-postgres-password>' -- npx -y @smartergpt/lex-mcpReplace the <your-…> placeholder with your own LEX_DATABASE_URL and LEX_POSTGRES_PASSWORD.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"lex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_DATABASE_URL": "<your-lex-database-url>",
"LEX_POSTGRES_PASSWORD": "<your-lex-postgres-password>"
}
}
}
}Replace the <your-…> placeholder with your own LEX_DATABASE_URL and LEX_POSTGRES_PASSWORD.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"lex": {
"command": "npx",
"args": [
"-y",
"@smartergpt/lex-mcp"
],
"env": {
"LEX_DATABASE_URL": "<your-lex-database-url>",
"LEX_POSTGRES_PASSWORD": "<your-lex-postgres-password>"
}
}
}
}Replace the <your-…> placeholder with your own LEX_DATABASE_URL and LEX_POSTGRES_PASSWORD.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use Lex MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does Lex MCP Server need an API key?
To run it on your computer, set LEX_DATABASE_URL and LEX_POSTGRES_PASSWORD first, with values from the publisher.
Is Lex MCP Server official?
It's published by SmarterGPT. The Official MCP Registry accepts names under dev.smartergpt only from someone who proved they control smartergpt.dev. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @smartergpt/lex-mcp@4.4.4