Rudra-ravi/wikipedia-mcp
A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide context to LLMs.
88579193daa4wikipedia-mcp2.0.1 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- 2 of 22 tools, prompts and resources could not be followed through the code
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 13 tools, 9 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
test_wikipedia_connectivityNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
1 request address could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses1 tool · test_wikipedia_connectivity
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (22: 13 tools, 9 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
articleresource HTTP resource to fetch a full article via GET /article/{title}.
HTTP resource to fetch a full article via GET /article/{title}.
Returns article data or an error dictionary.coordinates_resourceresource HTTP resource to fetch coordinates via GET /coordinates/{title}.
HTTP resource to fetch coordinates via GET /coordinates/{title}.key_facts_resourceresource HTTP resource to fetch key facts via GET /facts/{title}/topic/{topic_within_article}/count/{count}.
HTTP resource to fetch key facts via GET /facts/{title}/topic/{topic_within_article}/count/{count}.links_resourceresource HTTP resource to fetch links via GET /links/{title}.
HTTP resource to fetch links via GET /links/{title}.searchresource HTTP resource to search Wikipedia via GET /search/{query}.
HTTP resource to search Wikipedia via GET /search/{query}.
Uses the underlying WikipediaClient.search and always returns a dictionary.sections_resourceresource HTTP resource to fetch sections via GET /sections/{title}.
HTTP resource to fetch sections via GET /sections/{title}.summaryresource HTTP resource to fetch the summary of an article via GET /summary/{title}.
HTTP resource to fetch the summary of an article via GET /summary/{title}.summary_for_query_resourceresource HTTP resource to fetch a query-focused summary via GET /summary/{title}/query/{query}/length/{max_length}.
HTTP resource to fetch a query-focused summary via GET /summary/{title}/query/{query}/length/{max_length}.summary_section_resourceresource HTTP resource to fetch a section summary via GET /summary/{title}/section/{section_title}/length/{max_length}.
HTTP resource to fetch a section summary via GET /summary/{title}/section/{section_title}/length/{max_length}.extract_key_factstool Extract key facts from a Wikipedia article, optionally focused on a topic.
Extract key facts from a Wikipedia article, optionally focused on a topic.
Returns a dictionary containing a list of facts.functool
No description.
functool
No description.
get_articletool Get the full content of a Wikipedia article.
Get the full content of a Wikipedia article.
Returns a dictionary containing article details or an error message
if retrieval fails.get_coordinatestool Get the coordinates of a Wikipedia article.
Get the coordinates of a Wikipedia article.
Returns a dictionary containing coordinate information.get_linkstool Get the links contained within a Wikipedia article.
Get the links contained within a Wikipedia article.
Returns a dictionary with the article title and list of links.get_related_topicstool Get topics related to a Wikipedia article based on links and categories.
Get topics related to a Wikipedia article based on links and categories.
Returns a list of related topics up to the specified limit.get_sectionstool Get the sections of a Wikipedia article.
Get the sections of a Wikipedia article.
Returns a dictionary with the article title and list of sections.get_summarytool Get a summary of a Wikipedia article.
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.search_wikipediatool Search Wikipedia for articles matching a query.
Search Wikipedia for articles matching a query.
Parameters:
query: The search term to look up on Wikipedia.
limit: Maximum number of results to return (1-500).
Returns a dictionary with the search query, results, status, and
additional metadata. If the query is empty or invalid, the status
will be 'error' and an explanatory message is included.summarize_article_for_querytool Get a summary of a Wikipedia article tailored to a specific 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.summarize_article_sectiontool Get a summary of a specific section of a Wikipedia article.
Get a summary of a specific section of a Wikipedia article.
Returns a dictionary containing the section summary or an error.test_wikipedia_connectivitytool Provide diagnostics for Wikipedia API connectivity.Networkoutside text
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.Text the model reads (22)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
func tool
func tool
search_wikipedia tool
Search Wikipedia for articles matching a query.
Parameters:
query: The search term to look up on Wikipedia.
limit: Maximum number of results to return (1-500).
Returns a dictionary with the search query, results, status, and
additional metadata. If the query is empty or invalid, the status
will be 'error' and an explanatory message is included.test_wikipedia_connectivity tool
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.get_article tool
Get the full content of a Wikipedia article.
Returns a dictionary containing article details or an error message
if retrieval fails.get_summary tool
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.summarize_article_for_query tool
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.summarize_article_section tool
Get a summary of a specific section of a Wikipedia article.
Returns a dictionary containing the section summary or an error.extract_key_facts tool
Extract key facts from a Wikipedia article, optionally focused on a topic.
Returns a dictionary containing a list of facts.get_related_topics tool
Get topics related to a Wikipedia article based on links and categories.
Returns a list of related topics up to the specified limit.get_sections tool
Get the sections of a Wikipedia article.
Returns a dictionary with the article title and list of sections.get_links tool
Get the links contained within a Wikipedia article.
Returns a dictionary with the article title and list of links.get_coordinates tool
Get the coordinates of a Wikipedia article.
Returns a dictionary containing coordinate information.search resource
HTTP resource to search Wikipedia via GET /search/{query}.
Uses the underlying WikipediaClient.search and always returns a dictionary.article resource
HTTP resource to fetch a full article via GET /article/{title}.
Returns article data or an error dictionary.summary resource
HTTP resource to fetch the summary of an article via GET /summary/{title}.summary_for_query_resource resource
HTTP resource to fetch a query-focused summary via GET /summary/{title}/query/{query}/length/{max_length}.summary_section_resource resource
HTTP resource to fetch a section summary via GET /summary/{title}/section/{section_title}/length/{max_length}.sections_resource resource
HTTP resource to fetch sections via GET /sections/{title}.links_resource resource
HTTP resource to fetch links via GET /links/{title}.key_facts_resource resource
HTTP resource to fetch key facts via GET /facts/{title}/topic/{topic_within_article}/count/{count}.coordinates_resource resource
HTTP resource to fetch coordinates via GET /coordinates/{title}.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 22 capabilities; 20 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 22 capabilities; 20 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 22 capabilities call the network; 19 more call code the scanner could not follow, where it may happen
Where the code is: 22 handlers in 1 file at commit 88579193daa4
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: pyproject.toml, requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 3 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 4 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=2.3.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 22 capabilities; 20 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, SSE, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=2.3.0 |
| Servers in the code | 1 (Wikipedia) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-05-01 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 6 catalogs (awesome_tensorblock, docker_catalog, github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | MIT |
| Created | 2025-03-08 |
| Topics | anthropic llm mcp-server open-source wikipedia wikipedia-api wikipedia-mcp wikipedia-mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.