Cover image
Código-Investigación-MCP-server
Public

Código-Investigación-MCP-server

Try Now
2025-02-14

3 years

Works with Finder

2

Github Watches

6

Github Forks

30

Github Stars

Code Research MCP Server

smithery badge

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.

Code Research Server MCP server

Features

Integrated Platforms

  • Stack Overflow - Programming Q&A
  • MDN Web Docs - Web development documentation
  • GitHub - Code and repository search
  • npm - JavaScript package registry
  • PyPI - Python package index

Tools

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 response

Requirements

  • Node.js >= 20.11.0
  • npm >= 10.0.0
  • Optional: GitHub personal access token for higher API rate limits

Installation

Installing via Smithery

To install Code Research Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @nahmanmate/code-research-mcp-server --client claude

Manual Installation

  1. Clone the repository and install dependencies:
git clone https://github.com/nahmanmate/code-research-mcp-server.git
cd code-research-server
npm install
  1. Build the server:
npm run build
  1. 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": []
    }
  }
}

Note: Replace /absolute/path/to with the actual path where you cloned the repository.

Development

Running in Development Mode

For development with auto-rebuild on changes:

npm run watch

Error Handling

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

Debugging

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:

  • 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.

Caching

Results are cached using node-cache:

  • Default TTL: 1 hour
  • Separate cache keys per query/limit combination
  • Platform-specific caching strategies
  • Memory-efficient storage

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

AGPLv3

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

    Reviews

    4 (1)
    Avatar
    user_VzMChkmA
    2025-04-16

    As a dedicated user of code-research-mcp-server, I must say this project by nahmanmate is remarkably efficient and robust! The server seamlessly integrates with various applications, offering extensive customization options and a highly responsive interface. If you’re looking for a reliable code research tool, I highly recommend checking it out on GitHub.