C

Context7精选

MCP 生态 热度 85 收录 2026-11-01
访问官网 ↗ GitHub 仓库 ↗

简介

给 Agent 喂「最新版本文档」的 MCP 服务:按库名实时拉取对应版本的 API 文档,解决模型知识过时导致的错误调用,写代码必备。

English

An MCP service that feeds agents up-to-date, version-specific library docs — fixes stale-knowledge API mistakes.

适用场景

  • AI 总用训练数据里的旧 API 写法,导致代码跑不通
  • 需要查某个库的最新用法与迁移说明
  • 减少「看起来对但版本不对」的幻觉

快速上手

  1. 在客户端 MCP 配置中加入 context7 server
  2. 提示词里明确要求「use context7」再问库的用法
  3. 先让它取到对应版本的文档片段,再让它写代码
  4. 对关键库锁定版本号提问,避免跨版本混淆

标签

MCP文档检索Upstash开发效率

相关资源

M
MCP

Model Context Protocol(MCP) 精选

Anthropic 推出的模型上下文开放协议,已成为 AI 工具调用的事实标准;官方 servers 仓库收录文件系统、搜索、数据库等参考实现。Anthropic's open protocol connecting AI models to tools and data — the de-facto standard, with reference server implementations.

热度 86 详情 →
P
MCP

Playwright MCP

微软官方的浏览器自动化 MCP Server,让 Agent 可以操作网页、填表、截图、跑端到端测试,网页 Agent 开发必备。Microsoft's official MCP server for browser automation: let agents browse, fill forms, screenshot and run E2E tests.

MCP浏览器自动化微软测试
热度 66 详情 →
F
MCP

FastMCP

最流行的 Python MCP Server 开发框架,几行装饰器即可把函数发布为 MCP 工具,开发效率极高。The popular Pythonic framework for building MCP servers — expose functions as tools with a few decorators.

MCP开发框架Python
热度 72 详情 →
↑