GnistAI GnistAI
Log in

Wikipedia

Article summaries, search, and section content from Wikipedia — the free encyclopedia.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 Reference

Data source: Wikimedia Foundation

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/wikipedia/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-wikipedia": {
      "url": "https://context.gnist.ai/mcp/wikipedia/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/wikipedia/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_articles", "arguments": {"query": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/wikipedia/

4 endpoints available:

Shell
curl "https://context.gnist.ai/rest/wikipedia/search_articles?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/wikipedia/search_articles",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "query": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc wikipedia

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (4)

search_articles
Search Wikipedia articles by keyword.
ParameterTypeRequiredDescription
querystringrequiredSearch query — keywords or phrases to find Wikipedia articles.
limitintegeroptionalMax results to return (default 5, max 20). (default: 5)
get_article_summary
Get a concise summary of a Wikipedia article.
ParameterTypeRequiredDescription
titlestringrequiredWikipedia article title (e.g. 'Artificial intelligence', 'Oslo').
get_article_sections
Get the full section structure and content of a Wikipedia article.
ParameterTypeRequiredDescription
titlestringrequiredWikipedia article title (e.g. 'Machine learning', 'Norway').
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related