mcp-research

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

MCP Docs and Research (Context7, Exa, Jina)

MCP Docs and Research(Context7、Exa、Jina)

Overview

概述

Use MCP-provided tools to retrieve current, verifiable information instead of relying on memory for fast-changing libraries, APIs, and ecosystem guidance.
使用MCP提供的工具检索最新、可验证的信息,而非依赖记忆来获取快速迭代的库、API和生态系统相关指导。

When to Use

使用场景

  • Working with any external library or framework (for example, FastAPI, SQLAlchemy, pandas, boto3, or requests).
  • Installing or upgrading dependencies and verifying current versions or migration guidance.
  • Implementing features tied to third-party SDKs or APIs.
  • Debugging behavior that may be version-specific.
  • Looking up current best practices, changelogs, or breaking changes.
  • 处理任何外部库或框架(例如FastAPI、SQLAlchemy、pandas、boto3或requests)时。
  • 安装或升级依赖项,验证当前版本或迁移指导时。
  • 实现与第三方SDK或API相关的功能时。
  • 调试可能与版本相关的行为时。
  • 查询当前最佳实践、更新日志或破坏性变更时。

Tool Selection

工具选择

  1. Use
    mcp__context7__resolve-library-id
    and
    mcp__context7__query-docs
    for official library documentation and API usage.
  2. Use
    mcp__exa__get_code_context_exa
    for code-centric examples across docs, GitHub, and Stack Overflow.
  3. Use
    mcp__exa__web_search_exa
    for broader current web context (announcements, release notes, ecosystem updates).
  4. Use
    mcp__jina__search_web
    to discover relevant pages, then
    mcp__jina__read_url
    for clean page extraction.
  5. Use
    mcp__jina__search_arxiv
    and
    mcp__jina__extract_pdf
    only when the task needs paper-level or PDF-structured research.
  1. 使用
    mcp__context7__resolve-library-id
    mcp__context7__query-docs
    获取官方库文档和API使用方法。
  2. 使用
    mcp__exa__get_code_context_exa
    获取跨文档、GitHub和Stack Overflow的代码相关示例。
  3. 使用
    mcp__exa__web_search_exa
    获取更广泛的最新网络信息(公告、发布说明、生态系统更新)。
  4. 使用
    mcp__jina__search_web
    发现相关页面,再通过
    mcp__jina__read_url
    提取干净的页面内容。
  5. 仅当任务需要论文级或PDF结构化研究内容时,才使用
    mcp__jina__search_arxiv
    mcp__jina__extract_pdf

Default Workflow

默认工作流

  1. Classify the request: official API docs, implementation examples, or broad web research.
  2. Start with the narrowest reliable source:
    • Official docs first (
      Context7
      ) for API correctness.
    • Add
      Exa
      /
      Jina
      only when you need cross-source confirmation or broader context.
  3. For Context7 docs, always resolve the library id before querying docs unless the exact
    /org/project
    id is already provided.
  4. Keep queries specific (library + feature + version/error) to reduce noisy results.
  5. Synthesize findings and clearly separate sourced facts from inferences.
  1. 对请求进行分类:官方API文档、实现示例或广泛的网络研究。
  2. 从最精准可靠的来源开始:
    • 优先使用官方文档(Context7)确保API正确性。
    • 仅当需要跨源确认或更广泛的上下文时,再使用Exa/Jina。
  3. 对于Context7文档,除非已提供确切的
    /org/project
    ID,否则在查询文档前必须先解析库ID。
  4. 保持查询的针对性(库+功能+版本/错误)以减少无效结果。
  5. 整合研究结果,并明确区分有来源支撑的事实与推断内容。

Quality Rules

质量规则

  • Prefer primary/official documentation for API signatures and behavior.
  • For dependency/version decisions, verify with current documentation before recommending versions.
  • Avoid unsupported claims; cite concrete tool findings.
  • If sources conflict, report the conflict and recommend the safest path (pin version, test in isolation, or check release notes).
  • If coverage is weak, state limits explicitly and proceed with best available evidence.
  • 优先使用官方/原始文档获取API签名和行为信息。
  • 对于依赖/版本决策,在推荐版本前务必通过当前文档进行验证。
  • 避免无依据的声明;引用工具的具体研究结果。
  • 如果来源存在冲突,需报告冲突情况并推荐最安全的方案(固定版本、隔离测试或查看发布说明)。
  • 如果信息覆盖不足,需明确说明限制,并基于现有最佳证据继续推进。