Llmmcp

io.github.zero-abd由 GitHub 账号 zero-abd 发布v1.2.0更新于 Oct 24, 2026

MCP server for real-time LLM API documentation — stop hallucinations

概览

AI 生成的概览

本地 MCP 服务器,通过托管检索后端为助手提供 OpenAI、Anthropic 和 Google Gemini API 的实时最新文档。

可以做什么
  • 检索各大 LLM 提供商的官方文档,获取工具调用参数、上下文窗口、速率限制等技术细节
  • 列出当前可用的提供商及其主推模型,数据动态更新
  • 让模型版本、功能可用性和定价的回答基于已索引的官方文档,而非训练数据
适用场景
当助手需要针对 OpenAI、Anthropic 或 Gemini API 编写代码,并希望核对当前模型名称、参数和用法模式,而不是依赖可能过时的训练数据时使用。
运行要求
作为本地 stdio 进程运行,通过 npx 启动(需要 Node.js)。未声明任何 API 密钥或环境变量;命令行工具会调用托管的 Cloudflare Worker 后端,因此需要网络访问。
安装前请注意
查询内容会发送到第三方托管后端(Cloudflare Worker 与 Pinecone 向量索引),检索词会离开本机。文档由每周一次的抓取任务更新,可能略滞后于提供商的最新变更。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Llmmcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

llmmcp

[MCP Registry]

🌐 Website: https://llmmcp.vercel.app
🎥 Demo:

https://github.com/user-attachments/assets/eaad8d05-b7a8-4bf0-86c6-4fe2726da628

Stop LLM hallucinations and outdated code patterns.

llmmcp is a Model Context Protocol (MCP) server that provides real-time, up-to-date documentation for major LLM providers (OpenAI, Anthropic, and Google Gemini). It ensures your AI agents—like Cursor, Claude Desktop, or Windsurf—base their work on current official documentation instead of stale training data or deprecated library patterns.

Why use llmmcp?

LLMs frequently hallucinate about their own latest versions, feature availability (e.g., tool use in certain models), and pricing. llmmcp fixes this by providing:

  • ✅ Up-to-Date Model Info: Always know the latest available models (e.g., Gemini 2.0 Flash, Claude 3.5 Sonnet).
  • ✅ Detailed API Params: Verified tool use syntax, context window sizes, and rate limits.
  • ✅ Latest Implementation Patterns: Force your AI agent to follow current best practices instead of using legacy or deprecated library versions.
  • ✅ Real-Time Search: Queries an indexed vector database of official provider documentation.
  • ✅ Dynamic Listings: Get the current state of providers without hardcoded lists.

🚀 Quick Start

You can use llmmcp immediately in your favorite AI tools without local installation.

Cursor

Add a new MCP server in Settings > Models > MCP Servers:

  • Name: llmmcp
  • Type: command
  • Command: npx -y llmmcp@latest

Claude Desktop

Add the following to your claude_desktop_config.json:

json
{  "mcpServers": {    "llmmcp": {      "command": "npx",      "args": ["-y", "llmmcp@latest"]    }  }}

🛠 Features

search_docs

Search the latest official documentation for specific technical details. Example: "What are the tool use parameters for Gemini 1.5 Pro?"

list_providers

Get a dynamically updated list of available providers (OpenAI, Anthropic, Google) and their currently promoted models.


🏗 How it Works

llmmcp is designed for speed and reliability:

  1. Indexer: A weekly scraper fetches raw markdown/text from official documentation.
  2. Vector DB: Chunks are embedded and stored in Pinecone with integrated embedding support.
  3. Backend: A Cloudflare Worker handles query embedding and retrieval, caching frequent results in Workers KV.
  4. MCP Client: A thin CLI translates MCP requests into API calls for the Worker.

🤝 Contributing & Self-Hosting

This project is open-source. If you'd like to run your own instance of the backend:

  1. See Architecture & Deployment (coming soon, see current setup in logs).
  2. Fork the repo and submit a PR for new documentation sources.


Developed by Abdullah Al Mahmud

License

MIT

来源:README.md,提交 fdbd216

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。