Code Lens vs Overleaf MCP
A side-by-side look at the Code Lens and Overleaf MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Code Lens for developer tools work as a local process; choose Overleaf MCP for developer tools as a local process. You can also run both side by side in one mcpServers block.
Which MCP server should you choose?
Choose Code Lens when
- You need dedicated capabilities in the Developer Tools domain.
- You prefer a local stdio subprocess transport.
- You have the keys it needs:
GEMINI_API_KEY, GOOGLE_API_KEY. - You want tools like
generate_diff, analyze_pr_impact, generate_review_summary.
Choose Overleaf MCP when
- You need dedicated capabilities in the Developer Tools domain.
- You prefer a local stdio subprocess transport.
- Its auth model fits you: API key required.
- You have the keys it needs:
OVERLEAF_PROJECT_ID, OVERLEAF_GIT_TOKEN, OVERLEAF_GIT_TOKEN_FILE, OVERLEAF_PROJECT_NAME, OVERLEAF_PROJECTS_CONFIG. - You want tools like
list_projects, list_files, read_file.
Feature & specification comparison
Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Developer Tools | Developer Tools |
| Quality signal | 47/100 · Fair | 65/100 · Great |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | API key required |
| Pricing | Not declared | Not declared |
| Required env vars | GEMINI_API_KEYGOOGLE_API_KEY | OVERLEAF_PROJECT_IDOVERLEAF_GIT_TOKENOVERLEAF_GIT_TOKEN_FILEOVERLEAF_PROJECT_NAMEOVERLEAF_PROJECTS_CONFIG |
| Verified owner | Community listing | Community listing |
| GitHub stars | 0 | 329 |
| Directory activity | 0 views 0 installs 0 upvotes | 0 views 0 installs 0 upvotes |
| Tools | 13 | 8 |
| Full listing | View Code Lens | View Overleaf MCP |
Tools & capabilities
Code Lens tools 13
generate_diffCapture git diff (unstaged/staged) and cache server-sideanalyze_pr_impactAssess severity, categories, breaking changes, rollback complexitygenerate_review_summaryPR summary, risk rating, merge recommendationgenerate_test_planPrioritized test cases and coverage guidanceanalyze_time_space_complexityBig-O complexity analysis and degradation detectiondetect_api_breaking_changesDetect breaking API/interface changesload_fileCache a source file for analysis toolsrefactor_codeComplexity, duplication, naming, grouping suggestionsdetect_code_smellsStructural code smells (Fowler taxonomy)generate_documentationJSDoc/TSDoc/docstring stubs for public exportsask_about_codeNatural-language Q&A about a cached fileverify_logicVerify algorithms via Gemini code execution sandbox- +1 more on the listing page
Overleaf MCP tools 8
list_projectsList all configured Overleaf projectslist_filesList files in an Overleaf projectread_fileRead a file from an Overleaf projectget_sectionsGet all sections from a LaTeX fileget_section_contentGet content of a specific sectionstatus_summaryGet a comprehensive project status summarywrite_fileWrite content to a file in an Overleaf project and push to Overleafwrite_sectionReplace a single section in a LaTeX file and push to Overleaf. Safer than write_file for targeted edits — only the named section is replaced, leaving the rest of the file untouched.
Ready-to-paste client configs
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
Code Lens
{
"mcpServers": {
"code-lens": {
"command": "npx",
"args": [
"-y",
"@j0hanz/code-lens-mcp@latest"
],
"env": {
"GEMINI_API_KEY": "YOUR_GEMINI_API_KEY_HERE",
"GOOGLE_API_KEY": "YOUR_GOOGLE_API_KEY_HERE"
}
}
}
}
Overleaf MCP
{
"mcpServers": {
"mjyoo2-overleaf-mcp": {
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_PROJECT_ID": "YOUR_OVERLEAF_PROJECT_ID_HERE",
"OVERLEAF_GIT_TOKEN": "YOUR_OVERLEAF_GIT_TOKEN_HERE",
"OVERLEAF_GIT_TOKEN_FILE": "YOUR_OVERLEAF_GIT_TOKEN_FILE_HERE",
"OVERLEAF_PROJECT_NAME": "YOUR_OVERLEAF_PROJECT_NAME_HERE",
"OVERLEAF_PROJECTS_CONFIG": "YOUR_OVERLEAF_PROJECTS_CONFIG_HERE"
}
}
}
}
Frequently asked questions
Code Lens is categorized under Developer Tools and uses a local stdio subprocess. Overleaf MCP belongs to Developer Tools and uses a local stdio subprocess. Pick Code Lens for developer tools work and Overleaf MCP for developer tools.
Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.
Code Lens has no declared pricing — check the project's own site. Overleaf MCP has no declared pricing — check the project's own site. Auth: api key required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.
Yes. MCP clients support multiple servers: add code-lens and mjyoo2-overleaf-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.
On AllMCPs, Code Lens has a quality signal of 47/100 (Fair) with 0 views, 0 installs and 0 GitHub stars. Overleaf MCP has 65/100 (Great) with 0 views, 0 installs and 329 GitHub stars.