SG

skymoore/grokipedia-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

8 stars 6 forks 质量 71 趋势 24MIT

MCP Server for Grokipedia

概览

MCP server for searching and retrieving content from Grokipedia The User of the MCP assumes full responsibility for interacting with Grokipedia. Please see the Xai Terms of Service if you have any doubts. Elon, please don't sue me. I only wanted my agents to have access to truthful information and stop referencing wikipedia all the time. Add this to your MCP configuration file: You should see the Grokipedia server available with these tools: - search - Search with filters - get_page - Get page overview - get_page_content - Get full content - get_page_citations - Get citations - get_linked_pages - Get pages linked from an article - get_page_sections - List all section headers - get_page_section - Extract specific sections - research_topic - Research workflow - find_sources - Find citations - explore_related - Explore connections - compare_topics - Compare two topics

README

以下为原文 README 节选,完整内容请查看原文。

Grokipedia MCP Server

MCP server for searching and retrieving content from Grokipedia

The User of the MCP assumes full responsibility for interacting with Grokipedia.

Please see the Xai Terms of Service if you have any doubts.

Elon, please don’t sue me. I only wanted my agents to have access to truthful information and stop referencing wikipedia all the time.

Quick Start

Add this to your MCP configuration file:

{
  "mcpServers": {
    "grokipedia": {
      "command": "uvx",
      "args": ["grokipedia-mcp"]
    }
  }
}

Verifying Installation

You should see the Grokipedia server available with these tools:

  • search - Search with filters
  • get_page - Get page overview
  • get_page_content - Get full content
  • get_page_citations - Get citations
  • get_linked_pages - Get pages linked from an article
  • get_page_sections - List all section headers
  • get_page_section - Extract specific sections

And these prompts:

  • research_topic - Research workflow
  • find_sources - Find citations
  • explore_related - Explore connections
  • compare_topics - Compare two topics

Features

  • Search with Filters: Search with sorting (relevance/views) and filtering (min views)
  • Page Content: Retrieve articles, citations, and metadata with smart truncation
  • Related Pages: Discover linked/related articles
  • Section Extraction: Get specific sections from long articles
  • Smart Suggestions: Helpful alternatives when pages aren’t found
  • Guided Prompts: Pre-built workflows for research, sources, exploration

Installation (Development)

Using uv:

cd grokipedia-mcp
uv sync

For development with MCP Inspector and CLI tools:

uv sync --dev

Usage

Run with MCP Inspector (Development)

The fastest way to test and debug (requires dev dependencies):

uv run --dev mcp dev main.py

This launches the MCP Inspector UI where you can:

在 GitHub 查看完整 README

安装

uvx grokipedia-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "grokipedia": { "command": "uvx", "args": ["grokipedia-mcp"] } } }