Install ocular in Claude Code
claude mcp add ocular -e OCULAR_BASE_URL=... -e OCULAR_API_KEY=... -e OCULAR_MODEL=... -- npx -y ocular-mcp{
"mcpServers": {
"ocular": {
"command": "npx",
"args": [
"-y",
"ocular-mcp"
],
"env": {
"OCULAR_BASE_URL": "...",
"OCULAR_API_KEY": "...",
"OCULAR_MODEL": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the ocular MCP server do?
Vision tools for coding agents: screenshots, OCR, UI diffs, errors, tables, and charts.
Is the ocular MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does ocular run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add ocular to Claude Code?
Run: claude mcp add ocular -e OCULAR_BASE_URL=... -e OCULAR_API_KEY=... -e OCULAR_MODEL=... -- npx -y ocular-mcp
More browser automation MCP servers
View allPlaywright Spatial Layout
vola-trebla/playwright-spatial-layout-mcp
MCP server that gives AI agents geometric spatial awareness of web page layouts using Playwright
Macos
cyanheads/macos-mcp-server
Control macOS settings, apps, windows, audio, Music, displays, screenshots, and Focus mode via MCP.
rasterly
jhonychain/rasterly-mcp
Web toolkit for AI agents: read any URL as Markdown, screenshot, extract data, or crawl a site.
JohannsenLum/linkedin-api-mcp
Read LinkedIn profiles, companies, jobs and messages via your own browser session
rasterly
rasterly-dev/rasterly-mcp
Web toolkit for AI agents: read any URL as Markdown, screenshot, extract data, or crawl a site.
Lan Direct
farshadmomo/lan-direct
Browser MCP: the app under test egresses via the real ISP while the agent stays on the VPN.