Price Per TokenPrice Per Token
grokipedia-mcp

grokipedia-mcp

by skymoore

GitHub 4 2,731 uses Remote
0

About

Grokipedia is an encyclopedia and knowledge base service from xAI that provides articles with citations, related content, and verified information. The MCP server enables AI assistants to programmatically search, retrieve, and explore Grokipedia content. Key capabilities include: - Search articles with filters for minimum view counts and sort options by relevance or popularity - Retrieve full article content with smart truncation for lengthy pages - Extract citations and sources to verify information - Discover related pages and explore connections between topics - Extract specific sections from long articles for targeted research - Run guided research workflows for topic investigation, source discovery, and comparative analysis between subjects

Tools 7

search

Search for articles in Grokipedia with optional filtering and sorting.

get_page

Get complete page information including metadata, content preview, and citations summary.

get_page_content

Get only the article content without citations or metadata.

get_page_citations

Get the citations list for a specific page.

get_related_pages

Get pages that are linked from the specified page.

get_page_section

Extract a specific section from an article by header name.

get_page_sections

Get a list of all section headers in an article.

README

[](https://fastmcp.me/MCP/Details/1349/grokipedia) [](https://fastmcp.me/MCP/Details/1349/grokipedia) [](https://fastmcp.me/MCP/Details/1349/grokipedia) [](https://fastmcp.me/MCP/Details/1349/grokipedia) [](https://fastmcp.me/MCP/Details/1349/grokipedia) [](https://fastmcp.me/MCP/Details/1349/grokipedia)

Grokipedia MCP Server

[](https://smithery.ai/server/@skymoore/grokipedia-mcp)

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_related_pages - Get linked pages
  • 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:

  • Explore available tools
  • Test search queries
  • Retrieve page content
  • View structured output
  • Run Directly

    # Using the installed entry point
    uv run grokipedia-mcp

    Or as a Python module

    uv run python -m grokipedia_mcp

    Or directly

    uv run python main.py

    Available Tools

    search

    Search for articles in Grokipedia with filtering and sorting options.

    Parameters:

  • query (string, required) - Search query
  • limit (int, optional, default: 12) - Maximum number of results
  • offset (int, optional, default: 0) - Pagination offset
  • sort_by (string, optional, default: "relevance") - Sort by "relevance" or "views"
  • min_views (int, optional) - Filter to articles with at least this many views
  • Returns: List of search results with title, slug, snippet, relevance score, and view count.

    Examples:

    // Basic search
    {"query": "machine learning", "limit": 5}

    // Sort by most viewed {"query": "python", "sort_by": "views"}

    // Filter popular articles only {"query": "artificial intelligence", "min_views": 1000}

    ---

    get_page

    Get complete page information including metadata, content preview, and citations summary. Includes smart suggestion of alternatives if page not found.

    Parameters:

  • slug (string, required) - Article identifier (from search results)
  • max_content_length (int, optional, default: 5000) - Maximum content length
  • Returns: Complete page object with metadata, truncated content, and citation summaries.

    Features:

  • Suggests similar pages if the requested slug doesn't exist
  • Provides overview with content preview and citations
  • Use this when: You need an overview of a page with metadata and a content preview.

    Example:

    {"slug": "Machine_learning"}
    

    ---

    get_page_content

    Get only the article content without citations or metadata.

    Parameters:

  • slug (string, required) - Article identifier
  • max_length (int, optional, default: 10000) - Maximum content leng
  • Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81