Codemcp vs Ocular

A side-by-side look at the Codemcp and Ocular MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Codemcp logoCodemcpCoding Agents · Local subprocess (stdio)Coding agent with basic read, write and command line tools.44FairAuth: no auth requiredOcular logoOcularCoding Agents · Local subprocess (stdio)Vision tools for coding agents: screenshots, OCR, UI diffs, errors, tables, and charts.60GoodAuth: not declared

Verdict: choose Codemcp for coding agents work as a local process; choose Ocular for coding agents as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Codemcp logoChoose Codemcp when

  • You need dedicated capabilities in the Coding Agents domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
Explore Codemcp

Ocular logoChoose Ocular when

  • You need dedicated capabilities in the Coding Agents domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: OCULAR_BASE_URL, OCULAR_API_KEY, OCULAR_MODEL.
  • You want tools like analyze_image, extract_text_from_image, analyze_ui_screenshot.
Explore Ocular

Feature & specification comparison

Rows where the two servers differ are marked.

SpecCodemcp logoCodemcpOcular logoOcular
CategoryCoding AgentsCoding Agents
Quality signal44/100 · Fair60/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNo auth requiredNot declared
PricingFreeNot declared
Required env varsNone listedOCULAR_BASE_URLOCULAR_API_KEYOCULAR_MODEL
Verified ownerCommunity listingCommunity listing
GitHub stars1,6050
Directory activity 6 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
ToolsNot listed8

Tools & capabilities

Codemcp tools

No tool names declared yet. Check the project README from the listing page.

Ocular tools 8

  • analyze_imageAnalyze a general image and return structured JSON for a coding agent.
  • extract_text_from_imageExtract OCR text from screenshots, documents, tables, terminal output, or code images.
  • analyze_ui_screenshotAnalyze a webpage, app, UI, or design mockup screenshot for frontend implementation work.
  • diagnose_error_screenshotAnalyze error, terminal, console, browser, or build failure screenshots.
  • compare_ui_screenshotsCompare two UI screenshots and return implementation-useful visual differences.
  • extract_table_from_imageExtract visible table data from an image as structured JSON, Markdown, or CSV-oriented output.
  • analyze_chart_imageAnalyze a chart image and return labels, trends, approximate values, and limitations.
  • create_upload_sessionReturns upload instructions for the binary side channel (use this to analyze LOCAL image files without base64 corruption). Before uploading, verify the local file exists and is non-empty with Bash (e.g. `ls -la <path>` or `test -f <path> && stat -c %s <path>`). Then PUT the raw bytes to the returned upload_url with curl --data-binary (NOT base64); the response gives a file_id to pass to any vision tool. Stateless -- call once to learn the endpoint.

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.

Codemcp

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "ezyang-codemcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/ezyang/codemcp@prod",
        "codemcp"
      ]
    }
  }
}

Ocular

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "ocular": {
      "command": "npx",
      "args": [
        "-y",
        "ocular-mcp"
      ],
      "env": {
        "OCULAR_BASE_URL": "YOUR_OCULAR_BASE_URL_HERE",
        "OCULAR_API_KEY": "YOUR_OCULAR_API_KEY_HERE",
        "OCULAR_MODEL": "YOUR_OCULAR_MODEL_HERE"
      }
    }
  }
}

Frequently asked questions

Codemcp is categorized under Coding Agents and uses a local stdio subprocess. Ocular belongs to Coding Agents and uses a local stdio subprocess. Pick Codemcp for coding agents work and Ocular for coding agents.

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.

Codemcp is listed as free. Auth: no auth required. Ocular has no declared pricing — check the project's own site. 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 ezyang-codemcp and ocular as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Codemcp has a quality signal of 44/100 (Fair) with 6 views, 0 installs and 1,605 GitHub stars. Ocular has 60/100 (Good) with 1 views, 0 installs and 0 GitHub stars.