Wikipedia MCP Image Crawler
dazeb/wikipedia-mcp-image-crawler · 10 stars · JavaScript
MCP server A Wikipedia Image Search Tool. Follows Creative Commons Licences for images and uses them in your projects via Claude Desktop/Cline.
Install
The repo has no one-line install. Follow its README.
Files
Wikipedia MCP Image Crawler
A Model Context Protocol (MCP) server for searching and retrieving images from Wikipedia Commons. This server provides tools to search for images and fetch detailed metadata through the Wikipedia API.
I created this tool because i needed images of Greek philosopher's. I needed to mak sure i had full attribution and licenses. This will search wikipedia only and download images that are in the public domain and free to use.
Features
Tools
-
wiki_image_search- Search for images on Wikipedia Commons- Search by query with customizable result limits (1-50)
- Returns image URLs, dimensions, MIME types, and sizes
-
wiki_image_info- Get detailed information about specific images- Fetches comprehensive metadata including license and author
- Returns full resolution URLs and description links
Installation
Prerequisites
- Node.js 18 or higher
- npm or pnpm package manager
Local Installation
-
Clone the repository:
git clone https://github.com/dazeb/wikipedia-mcp-image-crawler.git cd wikipedia-mcp-image-crawler
-
Install dependencies:
pnpm install
-
Build the server:
pnpm run build
Integration with Claude
Claude Desktop App
Add the server configuration to your Claude config file:
MacOS:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
Linux:
nano ~/.config/Claude/claude_desktop_config.json
Windows:
notepad %APPDATA%\Claude\claude_desktop_config.json
Add this configuration (adjust the path to where you cloned the repository):
{
"mcpServers": {
"wikipedia-mcp-server": {
"command": "node",
"args": ["/absolute/path/to/wikipedia-mcp-image-crawler/build/index.js"],
"disabled": false,
"autoApprove": []
}
}
}
VSCode Extensions
Cline VSCode Extension
For the Cline VSCode extension, add to:
MacOS:
~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Linux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
For VS Code Insiders, replace Code with Code - Insiders in the paths above.
Add this configuration to the JSON file:
{
"mcpServers": {
"wikipedia-mcp-server": {
"command": "node",
"args": ["/absolute/path/to/wikipedia-mcp-image-crawler/build/index.js"],
"disabled": false,
"autoApprove": []
}
}
}
If the file already contains other MCP servers, add this entry to the existing mcpServers object.
Usage
Once installed, the server provides two main tools:
Image Search
Search for images matching a query:
{
"name": "wiki_image_search",
"arguments": {
"query": "golden gate bridge",
"limit": 5
}
}
Image Information
Get detailed metadata for a specific image:
{
"name": "wiki_image_info",
"arguments": {
"title": "File:Golden Gate Bridge.jpg"
}
}
Development
Running in Watch Mode
For development with auto-rebuild:
pnpm run watch
Debugging
Since MCP servers communicate over stdio, use the MCP Inspector for debugging:
pnpm run inspector
This will provide a URL to access the debugging interface in your browser.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 10
- Language
- JavaScript
- Last push
- 2025-03-13
- Forks
- 1
- Topics
- claude-ai, cline, mcp, mcp-server
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k