Code Research
Facilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.
What is Code Research?
Code Research is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to facilitates searching and accessing programming resources across platforms like stack overflow, mdn, github, npm, and pypi, aiding llms in finding code examples and documentation.
Facilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Facilitates searching and accessing programming resources ac
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx code-research-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Code Research
The Code Research MCP Server gives AI assistants the ability to search developer resources across Stack Overflow, MDN Web Docs, GitHub, npm, and PyPI simultaneously through a single MCP interface. It exposes six distinct search tools — one per platform plus a combined search_all — with caching (1-hour TTL) and rate limit handling built in. Developers use it to let Claude find real code examples, documentation, and package metadata without leaving the chat interface.
Prerequisites
- Node.js 18 or higher (for npx execution)
- An MCP client such as Claude Desktop or Claude Code
- Optional: GitHub Personal Access Token (GITHUB_TOKEN) to avoid rate limiting on GitHub searches
Install via Smithery CLI (recommended)
The easiest way to install is through the Smithery CLI, which handles configuration automatically for Claude Desktop.
npx -y @smithery/cli install @nahmanmate/code-research-mcp-server --client claudeOr add directly to Claude Desktop configuration
Alternatively, add the server directly to your claude_desktop_config.json. No additional environment variables are required for basic use.
Set GitHub token to avoid rate limits (optional)
GitHub searches are rate-limited for unauthenticated requests. Provide a personal access token to increase the rate limit significantly.
export GITHUB_TOKEN=ghp_your_personal_access_token_hereRestart Claude Desktop
After updating the configuration file, restart Claude Desktop to load the new MCP server.
Verify the server is active
In Claude Desktop, look for the MCP tools icon and confirm the code research tools are listed. Ask Claude to search for something simple to confirm connectivity.
Code Research Examples
Client configuration
Add this to your claude_desktop_config.json to use the code research server via npx. Include GITHUB_TOKEN in env to avoid rate limiting on GitHub searches.
{
"mcpServers": {
"code-research": {
"command": "npx",
"args": ["-y", "@nahmanmate/code-research-mcp-server"],
"env": {
"GITHUB_TOKEN": "ghp_your_github_token_here"
}
}
}
}Prompts to try
Use these prompts to search across developer platforms. The search_all tool hits all platforms in parallel for comprehensive results.
- "Search Stack Overflow for how to handle async/await errors in JavaScript"
- "Find MDN documentation for the CSS grid auto-fill property"
- "Search GitHub for Python libraries that parse markdown, filter by language Python"
- "Look up the npm package 'zod' and tell me what it does and its weekly downloads"
- "Search PyPI for HTTP client libraries and compare the top results"
- "Search all platforms for React hooks best practices"Troubleshooting Code Research
GitHub searches return 403 or very limited results
Set the GITHUB_TOKEN environment variable with a GitHub Personal Access Token. Unauthenticated requests are heavily rate-limited. Generate a token at https://github.com/settings/tokens with public_repo scope.
Server not appearing in Claude Desktop after installation
Ensure Node.js 18+ is installed and accessible in your PATH. Try running 'npx -y @nahmanmate/code-research-mcp-server' in a terminal to verify it starts without errors, then restart Claude Desktop.
search_all returns empty results for some platforms
Individual platform APIs may be temporarily unavailable or rate-limited. The server has fallback error handling — use the platform-specific tools (search_stackoverflow, search_npm, etc.) individually to isolate which platform is affected.
Frequently Asked Questions about Code Research
What is Code Research?
Code Research is a Model Context Protocol (MCP) server that facilitates searching and accessing programming resources across platforms like stack overflow, mdn, github, npm, and pypi, aiding llms in finding code examples and documentation. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Code Research?
Follow the installation instructions on the Code Research GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Code Research?
Code Research works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Code Research free to use?
Yes, Code Research is open source and available under the AGPL 3.0 license. You can use it freely in both personal and commercial projects.
Code Research Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Code Research? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Code Research in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Code Research?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.