Code Research MCP Server
About
Facilitates searching and accessing programming resources across platforms like Stack Overflow, MDN, GitHub, npm, and PyPI, aiding LLMs in finding code examples and documentation.
Details
- Author
- nahmanmate
- Repository
- jamesjohnsdev/code-research-mcp-server
- GitHub stars
- 30
- Downloads
- 3
- License
- GNU Affero General Public License v3.0
- Categories
- Search, Knowledge Base, Other, Developer Tools
Jump to
- Integrates five major developer platforms for code and documentation.
- Provides six search tools, including a combined search_all tool.
- Results are cached for one hour to reduce API load.
- Supports optional GitHub token for higher API rate limits.
- Executes parallel searches for faster responses.
- Includes robust error handling and graceful fallbacks.
Setting up with Highlight
Follow these steps to add this server as a custom Highlight plugin:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Code Research MCP ServerCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/absolute/path/to/code-research-mcp-server/build/index.js
Environment-
GITHUB_TOKEN
your_github_token
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
To install Code Research Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @nahmanmate/code-research-mcp-server --client claude
1. Clone the repository and install dependencies:
git clone https://github.com/nahmanmate/code-research-mcp-server.git
cd code-research-server
npm install
2. Build the server:
npm run build
3. Configure MCP Settings:
Add the server configuration to your MCP settings file:
- VSCode: ~/.vscode-server/data/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
- Claude Desktop:
- MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"code-research": {
"command": "node",
"args": ["/absolute/path/to/code-research-mcp-server/build/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_token" // Optional: Prevents rate limiting
},
"disabled": false,
"alwaysAllow": []
}
}
}
search_stackoverflow
Search Stack Overflow for programming questions and answers. Parameters: query (required): Search query string, limit (optional): Maximum results (1-10, default: 5). Returns: Formatted list of questions with scores, answer counts, and excerpts.
search_mdn
Search MDN Web Docs for web development documentation. Parameters: query (required): Search query string. Returns: Top 5 MDN documentation matches with summaries and links.
search_github
Search GitHub for both repositories and code examples. Parameters: query (required): Search query string, language (optional): Filter by programming language, limit (optional): Maximum results per category (1-10, default: 5). Returns: Two sections: Top repositories sorted by stars and relevant code files with repository context.
search_npm
Search npm registry for JavaScript packages. Parameters: query (required): Search query string, limit (optional): Maximum results (1-10, default: 5). Returns: Package information including version, description, and download stats.
search_pypi
Search PyPI for Python packages. Parameters: query (required): Search query string. Returns: Detailed package information including version, author, and links.
search_all
Search all platforms simultaneously for comprehensive results. Parameters: query (required): Search query string, limit (optional): Maximum results per platform (1-5, default: 3). Returns: Combined results from all platforms including Stack Overflow questions, MDN documentation, GitHub repositories, npm packages, and PyPI packages.
search_stackoverflow
Search Stack Overflow for programming questions and answers.
- Parameters:
- query (required): Search query string
- limit (optional): Maximum results (1-10, default: 5)
- Returns: Formatted list of questions with scores, answer counts, and excerpts
- Results are cached for 1 hour
search_mdn
Search MDN Web Docs for web development documentation.
- Parameters:
- query (required): Search query string
- Returns: Top 5 MDN documentation matches with summaries and links
- Results are cached for 1 hour
search_github
Search GitHub for both repositories and code examples.
- Parameters:
- query (required): Search query string
- language (optional): Filter by programming language
- limit (optional): Maximum results per category (1-10, default: 5)
- Returns: Two sections:
1. Top repositories sorted by stars
2. Relevant code files with repository context
- Results are cached for 1 hour
search_npm
Search npm registry for JavaScript packages.
- Parameters:
- query (required): Search query string
- limit (optional): Maximum results (1-10, default: 5)
- Returns: Package information including version, description, and download stats
- Results are cached for 1 hour
search_pypi
Search PyPI for Python packages.
- Parameters:
- query (required): Search query string
- Returns: Detailed package information including version, author, and links
- Results are cached for 1 hour
search_all
Search all platforms simultaneously for comprehensive results.
- Parameters:
- query (required): Search query string
- limit (optional): Maximum results per platform (1-5, default: 3)
- Returns: Combined results from all platforms:
1. Stack Overflow questions and answers
2. MDN documentation
3. GitHub repositories and code
4. npm packages
5. PyPI packages
- Results are cached for 1 hour
- Note: Executes all searches in parallel for faster responseClaude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"code research mcp server": {
"env": {
"GITHUB_TOKEN": "your_github_token"
},
"args": [
"/absolute/path/to/code-research-mcp-server/build/index.js"
],
"command": "node"
}
}
}
Linux
{
"env": {
"GITHUB_TOKEN": "your_github_token"
},
"args": [
"/absolute/path/to/code-research-mcp-server/build/index.js"
],
"command": "node"
}
Macos
{
"env": {
"GITHUB_TOKEN": "your_github_token"
},
"args": [
"/absolute/path/to/code-research-mcp-server/build/index.js"
],
"command": "node"
}
Windows
{
"env": {
"GITHUB_TOKEN": "your_github_token"
},
"args": [
"/absolute/path/to/code-research-mcp-server/build/index.js"
],
"command": "node"
}
Search and access programming resources from Stack Overflow, MDN, GitHub, npm, and PyPI.
A Model Context Protocol server that provides tools for searching and accessing programming resources across multiple platforms. This server integrates with popular developer platforms to help LLMs find relevant code examples, documentation, and packages.
- Stack Overflow - Programming Q&A
- MDN Web Docs - Web development documentation
- GitHub - Code and repository search
- npm - JavaScript package registry
- PyPI - Python package index
Search Stack Overflow for programming questions and answers.
- Parameters:
- query(required): Search query string
- limit(optional): Maximum results (1-10, default: 5)
Search MDN Web Docs for web development documentation.
- Parameters:
- query(required): Search query string
Search GitHub for both repositories and code examples.
- Parameters:
- query(required): Search query string
- language(optional): Filter by programming language
- limit(optional): Maximum results per category (1-10, default: 5)
- Top repositories sorted by stars
- Relevant code files with repository context
Search npm registry for JavaScript packages.
- Parameters:
- query(required): Search query string
- limit(optional): Maximum results (1-10, default: 5)
- Parameters:
- query(required): Search query string
Search all platforms simultaneously for comprehensive results.
- Parameters:
- query(required): Search query string
- limit(optional): Maximum results per platform (1-5, default: 3)
- Stack Overflow questions and answers
- MDN documentation
- GitHub repositories and code
- npm packages
- PyPI packages
- Node.js >= 20.11.0
- npm >= 10.0.0
- Optional: GitHub personal access token for higher API rate limits
To install Code Research Server for Claude Desktop automatically viaSmithery:
npx -y @smithery/cli install @nahmanmate/code-research-mcp-server --client claude
- Clone the repository and install dependencies:
git clone https://github.com/nahmanmate/code-research-mcp-server.git cd code-research-server npm install
Add the server configuration to your MCP settings file:
- VSCode:~/.vscode-server/data/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
- Claude Desktop:
- MacOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "code-research": { "command": "node", "args": ["/absolute/path/to/code-research-mcp-server/build/index.js"], "env": { "GITHUB_TOKEN": "your_github_token" // Optional: Prevents rate limiting }, "disabled": false, "alwaysAllow": [] } } }
Note: Replace/absolute/path/towith the actual path where you cloned the repository.
For development with auto-rebuild on changes:
The server implements robust error handling:
- API-specific error messages for each platform
- Rate limit handling for GitHub API
- Graceful fallbacks for service unavailability
- Cached responses to reduce API load
Since MCP servers communicate over stdio, debugging can be challenging. Use the MCP Inspector for detailed request/response monitoring:
- Real-time request/response monitoring
- Tool execution tracing
- Error stack traces
- Performance metrics
Visit the provided URL in your browser to access the debugging interface.
- Default TTL: 1 hour
- Separate cache keys per query/limit combination
- Platform-specific caching strategies
- Memory-efficient storage
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
Fetch, convert, and search AWS documentation pages, with recommendations for related content.
Search Stack Overflow and Stack Exchange from Claude, Cursor, and other AI agents through an MCP server.
Provides AI assistants with intelligent access to ML textbook content for creating accurate, source-grounded documentation.
Caesar is a free, keyless web search API for AI agents. Its remote MCP server exposes web_search (ranked results with citable provenance) and web_fetch (full pages as clean markdown), and works anonymously with no API key.
CatchAll is a web search API built for comprehensive event retrieval — not ranked results, but all matching records.
Provides real-time access to documentation, library popularity data, and career insights using the Serper API.
Search and get recommendations from the official Expo documentation.
GitHits MCP gives AI agents access to open-source code search, package docs, real-world examples, dependency metadata, changelogs, and vulnerability context for better software development decisions.
Periodix LinkedIn & Sales Navigator Search (People, Companies, Posts, Jobs)
Periodix LinkedIn Search. Search people, companies, posts, and jobs on LinkedIn & Sales Navigator via a verified n8n node, MCP server, or REST API.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




