Mcp Factcheck

io.github.carlisia由 GitHub 帳號 carlisia 發布v1.0.0更新於 Oct 24, 2026

An MCP server that validates content against MCP specification using semantic search and AI

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,透過語意搜尋與 AI 驗證,將關於 MCP 協定的內容與官方規格版本比對查錯。

可以做什麼
驗證 MCP 相關主張與多主張內容,回傳判定、修正建議與信心分數,並提供逐步流程與最佳實務檢查。快速查核單一陳述或問題,給出簡潔的對錯結論與說明。依語意相似度搜尋 MCP 規格各版本,並列出可用版本、日期與目前版本。以可設定的更新範圍,引導 MCP 內容在規格版本之間遷移。
適用情境
適合在撰寫或審閱關於 MCP 的文件、教學或程式碼時,核對說法是否符合官方規格;也適合將內容從舊版規格遷移到新版規格。
執行需求
以本機程序(stdio)在桌面執行,清單中提供容器映像。需要 OPENAI_API_KEY 中的 OpenAI API 金鑰用於產生嵌入與內容驗證,因此需能連線至 OpenAI。選用的 GITHUB_TOKEN 可在擷取規格時提高 GitHub API 速率限制。
安裝前請注意
需要你的 OpenAI API 金鑰,送出查核的內容會傳送給 OpenAI 用於嵌入與驗證,會產生 API 使用費用。驗證結果由 AI 產生,可能有誤,重要修正請自行對照規格確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Factcheck,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MCP Fact-Check MCP Server

An MCP Server for validating code or content against the official Model Context Protocol (MCP) specification to ensure technical accuracy and prevent the spread of misinformation.

📦 View in MCP Registry - Available in the official MCP Registry

📋 View Project Roadmap - See planned features and development progress

🏗️ Design Documentation - Technical design and implementation details

Overview

The MCP Fact-Check MCP Server helps ensure technical accuracy when coding or writing about MCP by comparing content against official specifications. It uses:

  • Semantic search with OpenAI embeddings to find relevant specification sections
  • AI-powered validation to detect inaccuracies and suggest corrections
  • Compound claim decomposition to validate complex statements with multiple assertions
  • Multiple spec versions support (draft, 2025-06-18, 2025-03-26, 2024-11-05)

Features

MCP Tools Exposed

  1. check_mcp_claim - Comprehensive validation of MCP-related content

    • Validates multi-claim content (documentation, tutorials, bullet points)
    • Automatically decomposes compound claims (e.g., "X and Y") for accurate validation
    • Provides step-by-step validation workflow
    • Identifies missing best practices and modal verb issues
    • Returns corrected content with confidence scores
  2. check_mcp_quick_fact - Quick fact-checking for single MCP claims

    • Validates single sentences or quick questions
    • Returns concise ✓/✗ verdict with explanation
    • Uses aggressive search strategies for accuracy
    • Perfect for "Does MCP support X?" questions
  3. search_spec - Searches MCP specifications using semantic similarity

    • Returns most relevant specification sections
    • Supports all specification versions
  4. list_spec_versions - Lists available MCP specification versions

    • Shows version dates and descriptions
    • Indicates which version is current

MCP Prompts Available

  1. migrate-mcp-content - Guides content migration between MCP specification versions

    • Validates content against source specification first
    • Identifies changes between specification versions
    • Provides step-by-step migration guidance
    • Works with any type of MCP-related content
    • Preserves the original tone, style, and voice when making corrections or suggestions

    Parameters:

    • current_version (required): Source MCP specification version (e.g., "2024-11-05", "2025-06-18")
    • target_version (required): Target MCP specification version to migrate to (e.g., "draft")
    • update_scope (optional): Determines how aggressive the migration should be
      • critical_only: Fix only critical inaccuracies and breaking changes (minimal changes)
      • enhancement_focused: Fix issues and improve clarity, align with best practices
      • comprehensive: Complete review with all improvements and enhanced clarity
      • Default: comprehensive

Installation

The MCP Fact-Check server is available through the Model Context Protocol registry. Install it directly from your MCP client:

For Claude Desktop and other MCP clients:

  • Search for "mcp-factcheck" in your client's server marketplace
  • Click install
  • Provide your OpenAI API key when prompted

That's it! The server will be automatically configured and ready to use.

For developers: If you need to build from source or contribute to the project, see INSTALL.md for development setup instructions.

Observability

Visual Tracing with Arize Phoenix

For a beautiful, AI-focused trace visualization UI, set up Arize Phoenix:

  1. Install and start Phoenix:
bash
# Install Phoenixpipx install arize-phoenix
# Start Phoenix serverphoenix serve
  1. Update the Host config to send traces to Phoenix:
json
{  "mcpServers": {    "mcp-factcheck": {      "command": "/path/to/bin/mcp-factcheck-server",      "args": [        "--data-dir",        "/path/to/data/embeddings",        "--telemetry",        "--otlp-endpoint",        "http://localhost:6006"      ],      "env": {        "OPENAI_API_KEY": "your-api-key"      }    }  }}
  1. View traces at: http://localhost:6006

What you'll see in Phoenix:

  • Beautiful AI-focused interface designed for LLM applications
  • Complete validation pipeline timeline with clear visual hierarchy
  • Embedding generation performance and OpenAI API call tracking
  • Vector search visualization with similarity scores
  • Per-chunk validation confidence levels and quality metrics
  • Cost tracking for OpenAI API usage (or whichever llm is being used for embedding the input content/code)
  • Clean, intuitive navigation focused on AI workflows

Phoenix is specifically designed for AI/ML observability and provides a much more user-friendly experience than traditional tracing tools.

Development

Building

bash
# Build all componentsgo build -o bin/mfc ./cmd/servergo build -o bin/specloader ./utils/cmd
# Run testsgo test ./...

Updating Specifications

The project includes pre-extracted MCP specifications and embeddings for all versions. To check when the draft specification was last updated, see data/SPEC_METADATA.json:

bash
# View draft update informationcat data/SPEC_METADATA.json | jq '.specs.draft'

To update the draft specification:

bash
./bin/specloader spec --version draft./bin/specloader embed --version draft./bin/specloader embed --version draft-fine

To add a new specification version:

bash
./bin/specloader spec --version 2025-12-15./bin/specloader embed --version 2025-12-15./bin/specloader embed --version 2025-12-15-fine

All specification extraction dates and source commits are automatically tracked in data/SPEC_METADATA.json.

Testing Tools

Test the server using the included test client:

bash
# Build test clientgo build -o bin/factcheck-curl ./cmd/factcheck-curl
# Test tools./bin/factcheck-curl --cmd ./bin/mfc --data-dir ./data/embeddings tools/list./bin/factcheck-curl --cmd ./bin/mfc --data-dir ./data/embeddings tools/call validate_content '{"content":"MCP is a protocol"}'
# Test prompts./bin/factcheck-curl --cmd ./bin/mfc --data-dir ./data/embeddings prompts/list
# Get migration prompt with minimal parameters./bin/factcheck-curl --cmd ./bin/mfc --data-dir ./data/embeddings prompts/get migrate-mcp-content '{"current_version":"2024-11-05","target_version":"draft"}'
# Get migration prompt with all parameters./bin/factcheck-curl --cmd ./bin/mfc --data-dir ./data/embeddings prompts/get migrate-mcp-content '{  "current_version": "2024-11-05",  "target_version": "2025-06-18",  "update_scope": "critical_only"}'

Architecture

See DESIGN.md for the complete architecture documentation.

Environment Variables

  • OPENAI_API_KEY - Required for embedding generation and content validation
  • GITHUB_TOKEN - Optional, for higher GitHub API rate limits when extracting specs

License

MIT License. See LICENSE for details.

來源:README.md,提交 a1e6bfc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分