This MCP server provides tools for searching and accessing programming resources across multiple platforms like Stack Overflow, MDN Web Docs, GitHub, npm, and PyPI. It helps LLMs find relevant code examples, documentation, and packages from these popular developer resources.
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)The easiest way to install Code Research Server for Claude Desktop is 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.
Once installed, the MCP server will be available to your Claude instance. The tools can be used by Claude without explicit commands from you. Here are some example prompts you might use with Claude:
The MCP server will handle these requests by executing the appropriate search tools and returning formatted results that Claude can interpret and present to you.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.