MCP.so
登录

Wikipedia Summarizer MCP Server

@codingaslu

基本信息

分类

其他

传输方式

stdio

作者

codingaslu

关于 Wikipedia Summarizer MCP Server

An MCP (Model Context Protocol) server that fetches and summarizes Wikipedia articles using Ollama LLMs, accessible via both command-line and Streamlit interfaces. Perfect for quickly extracting key information from Wikipedia without reading entire articles.

Wikipedia Summarizer MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "Streamlit-as-an-MCP-Host": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "requirements.txt"
      ]
    }
  }
}

Wikipedia Summarizer MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Wikipedia Summarizer MCP Server?

It is an MCP server that fetches Wikipedia articles and summarizes them using local Ollama LLM models. It includes a command-line client and a Streamlit web interface for easy interaction.

How to use Wikipedia Summarizer MCP Server?

Install Python 3.8+ and Ollama (with the deepseek-r1:1.5b model), clone the repository, and install dependencies with uv pip install -r requirements.txt. Start the server with uv run -- ollama_server.py (available at http://localhost:8000/sse). Use the command-line client with uv run -- updated_client.py <server_url> <wikipedia_url> or launch the Streamlit interface with uv run -- streamlit run streamlit_new.py, then enter the server URL and article URL in the browser.

Key features of Wikipedia Summarizer MCP Server

  • MCP server providing a summarize_wikipedia_article tool
  • Command-line client for direct summarization requests
  • Streamlit web interface for interactive use
  • Uses Ollama LLM models (default deepseek-r1:1.5b)
  • Fetches Wikipedia article content and converts to markdown

Use cases of Wikipedia Summarizer MCP Server

  • Summarize any Wikipedia article using a local LLM
  • Automate article summarization via command-line client
  • Provide a web UI for non-technical users to get summaries

常见问题

1

What are the prerequisites for running the server?

Python 3.8+, Ollama installed and running locally with the `deepseek-r1:1.5b` model, and an internet connection to fetch Wikipedia articles.

2

How do I install and run the server?

Clone the repository, run `uv pip install -r requirements.txt`, then start the server with `uv run -- ollama_server.py`. The server listens at `http://localhost:8000/sse`.

3

How do I use the command-line client?

Run `uv run -- updated_client.py http://localhost:8000/sse https://en.wikipedia.org/wiki/Python_(programming_language)` (replace the URLs as needed).

4

How do I use the Streamlit interface?

Run `uv run -- streamlit run streamlit_new.py`, open the provided URL in a browser, enter the MCP server URL and a Wikipedia article URL, then click "Fetch and Summarize Article".

5

What Ollama model does the server use by default?

It uses the `deepseek-r1:1.5b` model by default, but you can change it in `ollama_server.py`.

评论

其他 分类下的更多 MCP 服务器