Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ”„ Version Control
  3. Myopic
M
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:16:16 AM

Myopic

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Code-review MCP: review a merge request against the whole codebase, not just the diff. GitLab.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "myopic": {
      "command": "npx",
      "args": [
        "-y",
        "myopic"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ”„ More in Version Control

Documentation Overview

myopic

PyPI version Python License: MIT MCP Registry

The code-review MCP with the most ironic name in the registry. It's anything but nearsighted β€” it reviews your merge request against the whole codebase, not just the diff in front of it.

A small diff changes formatPrice to return a string; a diff-only reviewer says it looks fine, but myopic checks the whole repo and finds 4 callers it breaks plus an existing duplicate β€” neither visible in the diff.

Building in public. Reviews GitLab merge requests and GitHub pull requests β€” pass either URL. Reads the change, reviews it against the whole codebase, and can post the review back as inline comments. Issues and PRs welcome.


Why

The bugs that matter rarely live in the diff. They live in what it doesn't show: the caller three files away that now breaks, the convention every sibling file follows that this one quietly drops, the helper that already exists so this new one is a duplicate. A reviewer that only reads the patch is myopic.

myopic is an open-source MCP server that gives the AI client you already use (Claude, Cursor, …) the structured context to review like someone who knows the codebase. It runs on your machine β€” your code never leaves it, there's no per-PR bill, and the review happens in your own agent with your own standards:

  • Read the change precisely β€” the diff as line-numbered hunks or grouped by function/class, token-safe on any MR size (a 10,000-line diff never overflows the context window).
  • Review it against the whole codebase β€” who calls the changed code (blast radius), the caller/callee graph, and β€” optionally β€” semantically similar code so you catch broken conventions and duplication.

It pairs with amnesic, my MCP server that gives AI persistent memory of SQL databases.


Tools

Everything below works today unless marked planned.

Read the merge request (token-safe by construction):

ToolWhat it does
mr_review_statusMR metadata + every discussion thread + resolved/unresolved, in one call
mr_changed_filesa content-free manifest of changed files (paths, stats, noise flags) β€” no diff content, so it stays small even on a huge MR
mr_diff_sectionsthe diff grouped by function/class (AST-aware), budget-bounded
mr_diff_linesthe diff as line-numbered hunks β€” exact positions for inline comments β€” budget-bounded

On a large MR, the diff tools return a bounded page and list the rest under omitted_files / truncated instead of failing; lockfiles, generated code, and binaries are listed but not expanded. Fetch the rest with files_filter.

Review against the whole codebase (point at a local clone):

ToolWhat it does
dependency_impacteverywhere a changed symbol is used β€” the blast radius (ripgrep + tree-sitter)
trace_call_chainthe caller/callee graph of a symbol
mr_review_contextthe headline β€” for each changed symbol: its impact (always), plus semantically similar code when the optional layer is enabled

Semantic layer (built in β€” needs Ollama) β€” index_repo, code_search, and the semantic half of mr_review_context. See below.

Close the loop β€” verify, and (on request) comment:

ToolWhat it does
mr_verify_reviewfor each existing review thread, the diff changes near the commented line β€” did a follow-up commit address it? (read-only)
mr_post_commentsthe one write β€” post inline comments, one at a time from a queue with exponential backoff (no drafts, no bulk-publish), so partial progress survives and rate limits are respected

See ROADMAP.md for what's next.


Install

pipx installs myopic isolated and on your PATH:

bash
pipx install myopic

Prefer a plain venv? python3 -m venv ~/.venvs/myopic && ~/.venvs/myopic/bin/pip install myopic, then use that binary where the examples say myopic.

Setup

myopic needs a personal access token with api (or read_api) scope. The wizard walks you through it:

bash
myopic init     # prompts for URL + token, verifies, saves both
myopic test     # βœ“ Authenticated to https://gitlab.com as <you>
myopic doctor   # health-check config + (if enabled) the semantic layer

The token is saved to ~/.config/myopic/.env (chmod 600) and referenced from the TOML as ${GITLAB_TOKEN} β€” never in the config file itself. Rotate it with myopic set-secret, or hand-edit via myopic init --template.

GitHub PRs: just pass a PR URL. Set a GITHUB_TOKEN (a PAT with pull-request read access) in your environment or a [github] section in config.toml. For GitHub Enterprise, set [github].url to your host.

Add to your AI client

Claude Code β€” one command, no config editing:

Code
/plugin marketplace add https://github.com/SurajKGoyal/myopic-marketplace
/plugin install myopic@myopic

Any other MCP client (Cursor, Claude Desktop, …) β€” point it at the myopic command:

config.json
{
  "mcpServers": {
    "myopic": {
      "command": "myopic"
    }
  }
}

If your client can't find it on PATH, use the absolute path (pipx installs to ~/.local/bin/myopic).

Configure inline instead of myopic init

Put the token in the env block and skip the config file β€” myopic reads GITLAB_TOKEN / GITHUB_TOKEN from the environment:

config.json
{
  "mcpServers": {
    "myopic": {
      "command": "myopic",
      "env": { "GITLAB_TOKEN": "glpat-…", "MYOPIC_AUTO_PULL": "1" }
    }
  }
}

MYOPIC_AUTO_PULL=1 (optional) pulls a missing embedding model on first use instead of erroring.

Use

Point your AI at a merge request:

"Review this MR: https://gitlab.com/group/project/-/merge_requests/42"

A good flow the client can follow: mr_changed_files to see the shape β†’ mr_diff_sections (large MRs) or mr_diff_lines to read the change β†’ then, with a local clone checked out, dependency_impact / trace_call_chain (or mr_review_context) on the risky changed symbols to review against everything that depends on them.

The graph tools analyze whatever is checked out at root, so check out the MR's branch first β€” otherwise you're reviewing the target branch, and the MR's new code isn't there. myopic worktree <mr-url> <repo> checks out the MR head in a throwaway worktree (your main checkout untouched) and prints the path to use as root. mr_review_context also warns when root doesn't hold the MR's head.


Semantic search (built in β€” needs Ollama)

For "is this consistent with the rest of the codebase?" β€” duplication, convention drift, similar patterns β€” the semantic layer covers it. It's bundled in the base install (lancedb + httpx); the only external requirement is a running Ollama.

Embeddings come from a local Ollama server you run β€” your code never leaves your machine. myopic talks to Ollama over HTTP; it does not bundle or launch it. The one-time prerequisites:

  1. Ollama running (default localhost:11434, or set MYOPIC_OLLAMA_URL).
  2. The embedding model pulled: ollama pull unclemusclez/jina-embeddings-v2-base-code.

myopic doctor checks both and offers to pull the model for you.

Embeddings are stored in an embedded LanceDB index with hybrid (vector + full-text) search, and mr_review_context enriches each changed symbol with semantically similar code. You don't run index_repo by hand β€” it indexes the repo on the first review and refreshes when stale, automatically (disable with MYOPIC_AUTO_INDEX=0; the graph pass needs no index and always runs). index_repo / myopic index remain for explicit/cron use.

Indexing is incremental and freshness-aware. The first index_repo is a full build; after that only files whose content changed are re-embedded, so refreshing is cheap. index_status(root) reports whether the index is fresh, stale (with how many commits behind main), or built on a different model β€” freshness is measured against the repo's main line, not the current checkout, so reviewing a feature branch never marks the index stale; only main actually moving does. code_search and mr_review_context carry that status so a stale index never silently degrades a review; the AI is told to offer a refresh when it's stale.

The index is per repository, not per checkout β€” a myopic worktree at an MR's head shares its clone's index, so reviewing a new branch never rebuilds it; only the files that branch changed get re-embedded.

A separate clone of the same repo does get its own index, and a repo you delete leaves one behind. Indexing drops such dead copies automatically; to review and reclaim them yourself:

bash
myopic prune            # dry-run: what's stale, and how much it's costing
myopic prune --apply    # delete them

A second clone you still use keeps its index β€” only unreachable ones are removed.

myopic is a stdio server (no background process), so there's no built-in scheduler β€” but myopic index /path/to/repo is the hook for one. Point cron or launchd at it to keep an index fresh out of band:

bash
# refresh hourly (incremental β€” usually seconds)
0 * * * * myopic index /path/to/repo

Override the model/endpoint with MYOPIC_EMBED_MODEL / MYOPIC_OLLAMA_URL.


Configuration reference

SourceKeyNotes
config.toml[gitlab].urlGitLab base URL (default https://gitlab.com)
config.toml[gitlab].tokenuse ${GITLAB_TOKEN} β€” don't hardcode
.env (next to config)GITLAB_TOKENthe actual token value (chmod 600)
env varMYOPIC_GITLAB_URL / GITLAB_URLfallback if no TOML
env varMYOPIC_GITLAB_TOKEN / GITLAB_TOKENfallback if no TOML
env varMYOPIC_CONFIG / MYOPIC_HOMEoverride the config file / directory
env varMYOPIC_EMBED_MODEL / MYOPIC_OLLAMA_URLsemantic layer model + endpoint
env varMYOPIC_AUTO_INDEX0 to disable auto-indexing during review (default on)
env varMYOPIC_AUTO_PULL1 to auto-pull a missing embedding model on first use (default off)

Security

  • One explicit write, everything else read-only. Only mr_post_comments mutates a review, and only when you ask for it β€” every other tool just reads MR and repo data. The write is never speculative.
  • Your token stays local. It lives in your .env / environment and is sent only to your configured GitLab instance β€” never to any third party.
  • Auth errors are scrubbed so your token never leaks into error messages.
  • The semantic layer runs entirely locally (your Ollama, an on-disk index) β€” your code is never sent to a third party.

Development

Terminal
pip install -e ".[dev]"
pytest                           # hermetic β€” no network, Ollama, or lancedb needed

License

MIT Β© Suraj Goyal

mcp-name: io.github.SurajKGoyal/myopic

Related MCP Servers

View all in Version Control View all alternatives
  • M
    Mcp

    Official GitLab MCP Server

    πŸ”„ Version Control1 views
    Compare vs Mcp β†’
  • Create Packkit logoCreate Packkit

    Scaffold modern npm packages, CLIs, services, and full-stack monorepos from your agent. Three tools: inspect the option schema, preview the generated file tree, and write the project to disk β€” optionally creating the GitHub repo and pushing to it, or merging into an existing clone without overwriting anything. Also available as a CLI and a web configurator. npx -y packkit-mcp

    πŸ”„ Version Control1 views
    Compare vs Create Packkit β†’
  • S
    Saidsef Mcp Github Pr Issue Analyser

    A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…

    πŸ”„ Version Control1 views
    Compare vs Saidsef Mcp Github Pr Issue Analyser β†’
  • Git Mcp logoGit Mcp

    gitmcp.io is a generic remote MCP server to connect to ANY GitHub repository or project for documentation

    πŸ”„ Version Control4 views
    Compare vs Git Mcp β†’

Frequently Asked Questions about Myopic

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "myopic": { "command": "npx", "args": ["-y", "myopic"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMyopic AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/myopic?style=directory)](https://allmcps.com/mcp/myopic)
HTML Embed
<a href="https://allmcps.com/mcp/myopic"><img src="https://allmcps.com/api/badge/myopic?style=directory" alt="Myopic on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ”„Version Control
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ”„ Version Control β†’Best MCP servers for Git & Version Control β†’Alternatives to Myopic β†’Install in Claude DesktopInstall in CursorInstall in VS Code