by vercel
Use Grep to search GitHub code with queries or regex, filter by language, repository, and file path for precise results.
★ —
GitHub stars
Exposes your system's grep command through MCP, letting you search for patterns in files and directories using regular expressions. Supports common grep options like case-insensitive matching and recursive searching.
Grep is an official MCP server published by vercel that provides AI assistants with tools and capabilities via the Model Context Protocol. Use Grep to search GitHub code with queries or regex, filter by language, repository, and file path for precise results. This server exposes 1 tool that AI clients can invoke during conversations and coding sessions.
You can install Grep in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.
MIT
Grep is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Strong directory entry: Grep surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Grep has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
I recommend Grep for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Grep is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
We evaluated Grep against two servers with overlapping tools; this profile had the clearer scope statement.
We wired Grep into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
According to our notes, Grep benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
According to our notes, Grep benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
We wired Grep into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Useful MCP listing: Grep is the kind of server we cite when onboarding engineers to host + tool permissions.
showing 1-10 of 59
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.