mcp/wikipedia-mcp

Verified Publisher

By mcp

Updated 3 months ago

A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide contex...

Image
Machine learning & AI
10

100K+

mcp/wikipedia-mcp repository overview

Wikipedia MCP Server

A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide context to LLMs.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/Rudra-ravi/wikipedia-mcp/blob/88579193daa42cd9c6d95492448a3b2785d4fbf9/Dockerfile
Commit88579193daa42cd9c6d95492448a3b2785d4fbf9
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/wikipedia-mcp --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (22)

Tools provided by this ServerShort Description
extract_key_factsExtract key facts from a Wikipedia article, optionally focused on a topic.
get_articleGet the full content of a Wikipedia article.
get_coordinatesGet the coordinates of a Wikipedia article.
get_linksGet the links contained within a Wikipedia article.
get_related_topicsGet topics related to a Wikipedia article based on links and categories.
get_sectionsGet the sections of a Wikipedia article.
get_summaryGet a summary of a Wikipedia article.
search_wikipediaSearch Wikipedia for articles matching a query.
summarize_article_for_queryGet a summary of a Wikipedia article tailored to a specific query.
summarize_article_sectionGet a summary of a specific section of a Wikipedia article.
test_wikipedia_connectivityProvide diagnostics for Wikipedia API connectivity.
wikipedia_extract_key_factsExtract key facts from a Wikipedia article, optionally focused on a topic.
wikipedia_get_articleGet the full content of a Wikipedia article.
wikipedia_get_coordinatesGet the coordinates of a Wikipedia article.
wikipedia_get_linksGet the links contained within a Wikipedia article.
wikipedia_get_related_topicsGet topics related to a Wikipedia article based on links and categories.
wikipedia_get_sectionsGet the sections of a Wikipedia article.
wikipedia_get_summaryGet a summary of a Wikipedia article.
wikipedia_search_wikipediaSearch Wikipedia for articles matching a query.
wikipedia_summarize_article_for_queryGet a summary of a Wikipedia article tailored to a specific query.
wikipedia_summarize_article_sectionGet a summary of a specific section of a Wikipedia article.
wikipedia_test_wikipedia_connectivityProvide diagnostics for Wikipedia API connectivity.

Tools Details

Tool: extract_key_facts

Extract key facts from a Wikipedia article, optionally focused on a topic.

Returns a dictionary containing a list of facts.

ParametersTypeDescription
titlestring
countinteger optional
topic_within_articlestring optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: get_article

Get the full content of a Wikipedia article.

Returns a dictionary containing article details or an error message if retrieval fails.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: get_coordinates

Get the coordinates of a Wikipedia article.

Returns a dictionary containing coordinate information.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Get the links contained within a Wikipedia article.

Returns a dictionary with the article title and list of links.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Get topics related to a Wikipedia article based on links and categories.

Returns a list of related topics up to the specified limit.

ParametersTypeDescription
titlestring
limitinteger optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: get_sections

Get the sections of a Wikipedia article.

Returns a dictionary with the article title and list of sections.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: get_summary

Get a summary of a Wikipedia article.

Returns a dictionary with the title and summary string. On error, includes an error message instead of a summary.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: search_wikipedia

Search Wikipedia for articles matching a query.

ParametersTypeDescription
querystringThe search term to look up on Wikipedia.
limitinteger optionalMaximum number of results to return (1-500).

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: summarize_article_for_query

Get a summary of a Wikipedia article tailored to a specific query.

The summary is a snippet around the query within the article text or summary. The max_length parameter controls the length of the snippet.

ParametersTypeDescription
querystring
titlestring
max_lengthinteger optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: summarize_article_section

Get a summary of a specific section of a Wikipedia article.

Returns a dictionary containing the section summary or an error.

ParametersTypeDescription
section_titlestring
titlestring
max_lengthinteger optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: test_wikipedia_connectivity

Provide diagnostics for Wikipedia API connectivity.

Returns the base API URL, language, site information, and response time in milliseconds. If connectivity fails, status will be 'failed' with error details.

Tool: wikipedia_extract_key_facts

Extract key facts from a Wikipedia article, optionally focused on a topic.

Returns a dictionary containing a list of facts.

ParametersTypeDescription
titlestring
countinteger optional
topic_within_articlestring optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_get_article

Get the full content of a Wikipedia article.

Returns a dictionary containing article details or an error message if retrieval fails.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_get_coordinates

Get the coordinates of a Wikipedia article.

Returns a dictionary containing coordinate information.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Get the links contained within a Wikipedia article.

Returns a dictionary with the article title and list of links.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Get topics related to a Wikipedia article based on links and categories.

Returns a list of related topics up to the specified limit.

ParametersTypeDescription
titlestring
limitinteger optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_get_sections

Get the sections of a Wikipedia article.

Returns a dictionary with the article title and list of sections.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_get_summary

Get a summary of a Wikipedia article.

Returns a dictionary with the title and summary string. On error, includes an error message instead of a summary.

ParametersTypeDescription
titlestring

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_search_wikipedia

Search Wikipedia for articles matching a query.

ParametersTypeDescription
querystringThe search term to look up on Wikipedia.
limitinteger optionalMaximum number of results to return (1-500).

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_summarize_article_for_query

Get a summary of a Wikipedia article tailored to a specific query.

The summary is a snippet around the query within the article text or summary. The max_length parameter controls the length of the snippet.

ParametersTypeDescription
querystring
titlestring
max_lengthinteger optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_summarize_article_section

Get a summary of a specific section of a Wikipedia article.

Returns a dictionary containing the section summary or an error.

ParametersTypeDescription
section_titlestring
titlestring
max_lengthinteger optional

This tool is read-only. It does not modify its environment.

This tool interacts with external entities.


Tool: wikipedia_test_wikipedia_connectivity

Provide diagnostics for Wikipedia API connectivity.

Returns the base API URL, language, site information, and response time in milliseconds. If connectivity fails, status will be 'failed' with error details.

Use this MCP Server

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/wikipedia-mcp"
      ]
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:32ce60811

Size

70 MB

Last updated

3 months ago

docker pull mcp/wikipedia-mcp

This week's pulls

Pulls:

1,582

Jul 6 to Jul 12