Overview
Use Claude Desktop with the Filesystem MCP server to inspect a large CSV export on your computer and write a local Streamlit dashboard with filters and trend charts that you run and check yourself.
Problem or Objective
More in Business Operations
AI Agents and Models
Tools and Integrations
- Tools
- Claude Desktop · Streamlit · pandas · Node.js
- Prerequisites
- Claude Desktop, Node.js for the Filesystem MCP server, and Python with Streamlit and pandas installed to run the dashboard.
How It Works
Install Claude Desktop and Node.js, then configure the Filesystem MCP server with access to one folder that holds the CSV export, and nothing else. In a chat, ask Claude to read only the header and the first few hundred rows, describe each column with its likely type, list missing or odd values, and propose the trends worth tracking. Answer its questions about definitions (what counts as one case, which date to use, what the denominator of each rate is). Then ask it to write a Streamlit app in the same folder that loads the full file with pandas, caches it, and shows filters (date range, site, category) and weekly trend charts for the agreed measures; approve each file action. Streamlit is one way to build this. Install the packages and start the app yourself, then compare a few numbers with a manual count from the raw file before sharing anything.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Desktop.
- Connect the toolsConnect the tools this workflow relies on: Claude Desktop, Streamlit, pandas, Node.js.
- Check the prerequisitesClaude Desktop, Node.js for the Filesystem MCP server, and Python with Streamlit and pandas installed to run the dashboard.
- Gather your detailsCollect what the prompt asks for: CSV file name, What the export contains, Measures you want to track, Columns to filter by.
- Run the starter promptPaste the starter prompt below into Claude Desktop and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at modelcontextprotocol.io before you rely on it.
Practical Starter Prompt: Profile my CSV and build a trends dashboard
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
The file [CSV file name] in the shared folder is an export of [What the export contains]. Read only the header and the first 300 rows. Describe each column and its likely type, list missing or odd values, and ask me how to define these measures before writing code: [Measures you want to track]. Then write app.py, a Streamlit app that loads the full file with pandas, caches it, offers filters for [Columns to filter by], and shows weekly trend charts for the agreed measures. Ask before creating or changing any file, and do not delete anything.Approve each file action, run the app yourself, and check a few figures against a manual count before sharing the dashboard.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The pages support Claude Desktop using local MCP servers whose tools act with your approval and with your own file permissions, desktop extensions that reach local files, and Streamlit as a framework for data apps. None of them checks the numbers in your dashboard; the comparison with a manual count is how you find mistakes in parsing or definitions.
Limitations and Considerations
Give the Filesystem server access to one folder only: it runs with your user account permissions. If the export holds personal data about staff or customers, remove or aggregate those columns first and follow your organisation's data rules before using it with any AI tool. Check each column's type, the gaps in the data and how every rate is calculated before relying on a chart. Approve each file action, and run the generated code only after reading it. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
Suggested Implementation Component
A repository that could serve as a building block. It is not part of the cited account and is not evidence that the workflow was run.
Sources
- Connect to local MCP servers - Model Context Protocol (opens in a new tab)
Project documentation · modelcontextprotocol.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Each server exposes tools that Claude can use to perform actions, with your approval.
- The server runs with your user account permissions, so it can perform any file operations you can perform manually.
- Download Claude | Claude by Anthropic (opens in a new tab)
Project documentation · claude.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- The desktop app also supports desktop extensions, which are locally installed and provide access to your local file systems, browsers, and native applications.
- streamlit/streamlit README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 00:12 UTC
What this source supports
- Streamlit is batteries-included and takes care of the hard parts: a consistent, well-designed interface, state, caching, sign-in, theming, and upgrades.