MCP.so
登录

File Analysis MCP Server

@huangyz0918

关于 File Analysis MCP Server

暂无概览

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

huangyz0918

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

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

概览

What is File Analysis MCP Server?

A Model Context Protocol server providing tools for reading and writing files, analyzing data (especially CSV files), generating visualizations, and extracting PDF text, accessible to any MCP client like Claude Desktop.

How to use File Analysis MCP Server?

Install dependencies with pip install "mcp[cli]" pandas numpy matplotlib PyPDF2, optionally set the MCP_FILE_ROOTS environment variable to customize safe directories, then run mcp install file_analysis_server.py to register with Claude Desktop. After installation, ask Claude natural-language questions to read, analyze, or visualize files.

Key features of File Analysis MCP Server

  • Read and write text files securely within authorized directories
  • List files in directories matching patterns and get detailed file info
  • Extract text content from PDF files, including specific pages
  • Read and sample CSV files with detailed statistical analysis
  • Visualize data with bar, line, scatter, histogram, and boxplot charts
  • Built-in prompts for EDA, data cleaning, and summary reports

Use cases of File Analysis MCP Server

  • Ask Claude to read, analyze, or summarize files in your Documents or Downloads folder
  • Analyze CSV sales data and create charts of revenue or profit over time
  • Extract text from specific pages of a PDF document
  • Run a guided exploratory data analysis on a dataset using built-in prompts
  • Generate an executive summary report from a CSV file for stakeholders

FAQ from File Analysis MCP Server

What dependencies does the server require?

Python 3.10 or higher and the packages mcp[cli], pandas, numpy, matplotlib, and PyPDF2.

Which directories can the server access by default?

It defaults to ~/Documents and ~/Downloads, configurable via the MCP_FILE_ROOTS environment variable (colon-separated paths).

How do I test the server during development?

Run mcp dev file_analysis_server.py to start the server with the MCP Inspector interface for interactive testing.

What file types are supported?

Text files, CSV files, and PDF files (for text extraction) are explicitly supported.

Does the server enforce any security restrictions?

Yes, it enforces strict path validation so only files within the authorized MCP_FILE_ROOTS directories can be accessed.

评论

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