Code Research Assistant
STDIOTools for searching and accessing programming resources across multiple platforms.
Tools for searching and accessing programming resources across multiple platforms.
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.
search_stackoverflow
Search Stack Overflow for programming questions and answers.
query
(required): Search query stringlimit
(optional): Maximum results (1-10, default: 5)search_mdn
Search MDN Web Docs for web development documentation.
query
(required): Search query stringsearch_github
Search GitHub for both repositories and code examples.
query
(required): Search query stringlanguage
(optional): Filter by programming languagelimit
(optional): Maximum results per category (1-10, default: 5)search_npm
Search npm registry for JavaScript packages.
query
(required): Search query stringlimit
(optional): Maximum results (1-10, default: 5)search_pypi
Search PyPI for Python packages.
query
(required): Search query stringsearch_all
Search all platforms simultaneously for comprehensive results.
query
(required): Search query stringlimit
(optional): Maximum results per platform (1-5, default: 3)To install Code Research Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @nahmanmate/code-research-mcp-server --client claude
git clone https://github.com/nahmanmate/code-research-mcp-server.git cd code-research-server npm install
npm run build
Add the server configuration to your MCP settings file:
~/.vscode-server/data/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
~/Library/Application Support/Claude/claude_desktop_config.json
%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/to
with the actual path where you cloned the repository.
For development with auto-rebuild on changes:
npm run watch
The server implements robust error handling:
Since MCP servers communicate over stdio, debugging can be challenging. Use the MCP Inspector for detailed request/response monitoring:
npm run inspector
The Inspector provides:
Visit the provided URL in your browser to access the debugging interface.
Results are cached using node-cache
:
AGPLv3