Lens MCP Server
by mrhpythonio.github.mrhpython/lens-mcpv1.1.1
Outside-in validation gate for AI-generated text; a separate model checks LLM output, fail-closed.
context tax
queued
security
queued
cold start
queued
freshness
Maintained43d ago
Install Lens MCP server
Install in Claude Code
claude mcp add lens -e SOULFIELD_API_KEY='<soulfield-api-key>' -- npx -y @soulfield/lens-mcpInstall in Cursor
{
"mcpServers": {
"lens": {
"command": "npx",
"args": [
"-y",
"@soulfield/lens-mcp"
],
"env": {
"SOULFIELD_API_KEY": "<soulfield-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"lens": {
"command": "npx",
"args": [
"-y",
"@soulfield/lens-mcp"
],
"env": {
"SOULFIELD_API_KEY": "<soulfield-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"lens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@soulfield/lens-mcp"
],
"env": {
"SOULFIELD_API_KEY": "<soulfield-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"lens": {
"command": "npx",
"args": [
"-y",
"@soulfield/lens-mcp"
],
"env": {
"SOULFIELD_API_KEY": "<soulfield-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SOULFIELD_API_BASE | — | — | Lens API base URL. Use https://api.soulfield.one for the hosted service. |
| SOULFIELD_API_KEY | — | yes | API key for validate_content and scrub_pii. Get one free, self-serve, no card, at https://api.soulfield.one/pricing#signup. lens_health needs no key. |
Freshness
Maintained — last maintenance signal 43d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-28 · 43d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-27 · 43d ago · official registry · v1.1.1
FAQ
›How do I install the Lens MCP server in Claude Code?
Run: claude mcp add lens -e SOULFIELD_API_KEY='<soulfield-api-key>' -- npx -y @soulfield/lens-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Lens require an API key?
Yes. It expects SOULFIELD_API_KEY, of which 1 is a secret.
›Can I use Lens as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Lens in the official MCP registry?
Yes, as io.github.mrhpython/lens-mcp.
Alternatives to Lens
Other ai & llm tools MCP servers.