Review Analysis MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Review Analysis MCP ServerAnalyze these customer reviews for sentiment and top issues."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Review Analysis MCP Server
A local, privacy-friendly pipeline for analyzing customer reviews. An MCP client (VS Code, Claude Desktop, …) drives a FastMCP server whose tools call a local Ollama model (Llama 3.1) to classify sentiment, surface recurring issues, and generate reports. A Streamlit dashboard visualizes the results.
MCP client ──MCP──▶ FastMCP server ──▶ Ollama (Llama 3.1)
│
▼
data/store.json ◀──reads── Streamlit dashboardTools
Tool | Description |
| Ingest reviews from CSV text or a list of dicts. |
| Classify each review positive / neutral / negative. |
| Cluster complaints into the top recurring issues. |
| Render a markdown report from the analysis. |
Related MCP server: Llama 4 Maverick MCP Server
Setup
# 1. Python deps
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
# 2. Local LLM
# Install Ollama from https://ollama.com, then:
ollama pull llama3.1
ollama serve # if not already running as a serviceRun
MCP server (stdio transport):
python server.pyRegister it with your client. Example Claude Desktop / VS Code MCP config:
{
"mcpServers": {
"review-analyzer": {
"command": "/Users/chandangowda/Desktop/mcp/.venv/bin/python",
"args": ["/Users/chandangowda/Desktop/mcp/server.py"]
}
}
}Point
commandat the Python inside your virtualenv (as above) so the server starts withmcp,ollama, etc. already installed.
Run with the MCP Inspector
The MCP Inspector is a browser UI for calling the server's tools by hand — the fastest way to try the pipeline without wiring up a full client.
# From the project root, with the virtualenv active:
source .venv/bin/activate
mcp dev server.pyThis launches the Inspector and prints a local URL (default http://localhost:6274). Open it in your browser, then:
Connect — the transport is already set to stdio with the command pre-filled from
server.py. Click Connect.Open the Tools tab and click List Tools to see the four tools:
upload_reviews,analyze_sentiment,get_top_issues,generate_report.Run them in order:
upload_reviews— paste the contents ofdata/sample_reviews.csvinto thecsv_textfield (leavereplaceastrue), then Run Tool. You should see{"uploaded": 15, "total_reviews": 15}.analyze_sentiment— no arguments; Run Tool. Returns the sentiment distribution. (Requiresollama serverunning.)get_top_issues— optionally setlimit(default 5); Run Tool.generate_report— no arguments; Run Tool. Returns the final markdown report.
Prerequisites: ollama serve must be running and llama3.1 pulled (see
Setup), otherwise the analysis tools return an LLMError. If the
mcp command isn't found, install the CLI extra with
pip install "mcp[cli]".
Dashboard:
streamlit run dashboard/app.pyTry it end to end
Start
ollama serveand the dashboard.In the dashboard sidebar, upload
data/sample_reviews.csv→ Ingest CSV.Click Run sentiment analysis, Find top issues, Generate report.
Or drive the same flow from your MCP client by calling the tools.
Configuration
Env var | Default | Purpose |
|
| Which Ollama model to use. |
| (library default) | Ollama server URL, e.g. |
|
| Where shared state is persisted. |
Notes
The server and dashboard are separate processes; they communicate only through
data/store.json(atomic writes, so readers never see partial data).Uploading new reviews clears any prior analysis for that dataset.
Swapping to OpenAI/GPT-4o later means implementing the same
chat_jsoncontract insrc/llm.py— nothing else changes.
This server cannot be deployed
Maintenance
Related MCP Connectors
G2, Trustpilot, Yelp reviews with sentiment and theme extraction across sources.
Analyze customer feedback at scale — reviews, surveys, calls. AI-powered themes and sentiment.
Analyze product reviews: pain points, feature requests, sentiment and competitive gaps for sellers.
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA local, agentic AI pipeline that analyzes tabular data, detects anomalies, and generates interpretive summaries using local LLMs orchestrated via the Model Context Protocol.-
- AlicenseNot gradedqualityDmaintenanceBridges Llama models with Claude Desktop through Ollama, enabling privacy-first local AI operations with 10+ built-in tools for file operations, web search, calculations, and custom model deployment. Features streaming support, hybrid intelligence workflows, and extensive Python ecosystem integration for research, development, and enterprise applications.MIT
- AlicenseNot gradedqualityDmaintenanceAnalyzes log files locally using Ollama and files structured GitHub Issues automatically, with all processing kept on your machine.1MIT
- FlicenseNot gradedqualityDmaintenanceA Multi-Domain Private Intelligence Hub that routes user queries to the best local Ollama model and uses a local vector DB (ChromaDB) for RAG. Everything runs on your machine.-