- Home
- MCP servers
- Wikipedia
Wikipedia
- typescript
7
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"dazeb-wikipedia-mcp-image-crawler": {
"command": "node",
"args": [
"/absolute/path/to/wikipedia-mcp-image-crawler/build/index.js"
]
}
}
}You have a Model Context Protocol (MCP) server that lets you search Wikipedia Commons for images and retrieve rich metadata. It focuses on public-domain and freely usable images, with tools to search by query and to fetch detailed info about each image, including licenses and authors. This makes it easy to build workflows that attribution-friendly image collections.
How to use
You interact with the server through an MCP client. Start by using the image search tool to find images that match a query, then use the image information tool to retrieve full metadata for any image you select. This enables you to assemble and attribute image sets from Wikipedia Commons with confidence about licenses and authors.
How to install
Prerequisites you need before installing:
-
Node.js 18 or higher
-
npm or pnpm (package managers)
Step by step installation flow
-
Clone the project to your local environment
-
Install dependencies using your preferred package manager
-
Build the MCP server so it is ready to run
Configuration and running the MCP server
{
"mcpServers": {
"wikipedia-mcp-server": {
"type": "stdio",
"name": "wikipedia_mcp",
"command": "node",
"args": ["/absolute/path/to/wikipedia-mcp-image-crawler/build/index.js"],
"disabled": false,
"env": []
}
}
}
Using the server tools
Image Search tool — find images that match a query and return image URLs, dimensions, MIME types, and sizes. Access this tool by name wiki_image_search with arguments such as a query and a limit.
Image Information tool — fetch detailed metadata for a specific image, including license and author, and get the full-resolution image URLs. Access this tool by name wiki_image_info with the image title.
Expected environment details
This MCP server run configuration does not require additional environment variables beyond those shown in the start snippet. If you add environment variables later, you should list them under a global environment section for the MCP client and mirror them in the server configuration.
Development and troubleshooting
To run in watch mode during development, you can use the project’s development workflow to auto-rebuild as you modify source files.
If you need debugging, use the MCP Inspector tooling which provides a URL you can open in your browser to inspect the MCP server interactions.
Available tools
wiki_image_search
Search for images on Wikipedia Commons by query with a configurable limit; returns image URLs, dimensions, MIME types, and sizes.
wiki_image_info
Fetches detailed metadata for a specific image, including license and author, and returns full-resolution image URLs and descriptions.