Streamlit-as-an-MCP-Host
1
The Wikipedia Summarizer MCP Server is a platform that fetches and summarizes Wikipedia articles using Ollama LLM models. It includes a server, a command-line client, and a user-friendly Streamlit web interface for easy interaction.
Wikipedia Summarizer MCP Server
A Model Client Protocol (MCP) server that fetches Wikipedia articles and summarizes them using Ollama LLM models.
Overview
This project consists of three main components:
- Ollama Server: An MCP server that provides a tool to summarize Wikipedia articles using Ollama LLM models
- Command-line Client: A client that can connect to the MCP server and request article summaries
- Streamlit Interface: A web UI that provides a user-friendly way to interact with the MCP server
Prerequisites
- Python 3.8+
- Ollama installed and running locally with the
deepseek-r1:1.5b
model (or update the model inollama_server.py
) - Internet connection to fetch Wikipedia articles
Components
ollama_server.py
Implements the MCP server with a tool for summarizing Wikipedia articles. It fetches article content, converts it to markdown, and uses Ollama to generate a summary.