MCP Analyst
Click on "Install 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., "@MCP AnalystShow me the distribution of ages in the dataset"
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.
MCP Analyst
MCP Analyst is an MCP server that empowers claude to analyze local CSV or Parquet files.
Use this server when your dataset size is bigger than the context window or you don't want to upload full file to optimize the cost.
Installation
Install uv
uv is required to run the MCP server.
Mac
brew install uvWindows
winget install --id=astral-sh.uv -eRelated MCP server: Excel Analytics MCP Server
Add servers in MCP
To use the server in Claude you would need to update the Claude config
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"analyst": {
"command": "uvx",
"args": [
"mcp-analyst",
"--file_location",
"<replace_this_with_path_to_csv_or_parquet_files_on_your_machine>"
]
}
}
}How do I provide more than one CSV file?
The server supports the using globs in the file location. So for example if your directory data has more than one csv file then you can give file-location as <parent_path_to_data>/data/*.csv
Available Tools
3 toolsexecute_polars_sqlB
Reads the data from the given file locations. Note that file_locations
can be a list of multiple files. However, all files must have the same schema
and the same columns. Executes the given polars sql query and returns the result.
Note that the polars sql query must use the table name as self to refer to the source data.
| Name | Required | Description | Default |
|---|---|---|---|
| file_locations | Yes | ||
| query | Yes | The polars sql query to be executed. polars sql query must use the table name as `self` to refer to the source data. Supported functions are: Aggregate: - Avg - Count - First - Last - Max - Median - Min - Sum - Quantile_count - Quantile_disc - Stddev - Sum - Variance Array: - Array_agg - Array_contains - Array_get - Array_length - Array_lower - Array_mean - Array_reverse - Array_sum - Array_to_string - Array_unique - Array_upper - Unnest Bitwise: - Bit_and - Bit_count - Bit_or - Bit_xor Conditional: - Coalesce - Greatest - If - Ifnull - Least - Nullif Mathematical: - Abs - Cbrt - Ceil - Div - Exp - Floor - Ln - Log2 - Log10 - Mod - Pi - Pow - Round - Sign - Sqrt String: - Bit_length - Concat - Concat_ws - Date - Ends_with - Initcap - Left - Length - Lower - Ltrim - Normalize - Octet_length - Regexp_like - Replace - Reverse - Right - Rtrim - Starts_with - Strpos - Strptime - Substr - Timestamp - Upper Temporal: - Date_part - Extract - Strftime Type: - Cast - Try_cast Trigonometric: - Acos - Acosd - Asin - Asind - Atan - Atand - Atan2 - Atan2d - Cot - Cotd - Cos - Cosd - Degrees - Radians - Sin - Sind - Tan - Tand | |
| file_type | No | The type of the file to be read. Supported types are csv and parquet | csv |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears full responsibility for behavioral disclosure. It mentions reading files and executing SQL, but does not detail side effects (likely none), performance implications, error handling (e.g., incompatible schemas), or return value structure. This is insufficient for a data-execution tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences long, immediately stating the core purpose and key constraints. No redundant or extraneous information, and the structure is clear and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is moderately complex (file reading, SQL execution), yet the description omits details on return format, error behavior, supported file paths, and limitations. Without an output schema, the agent is left without enough information to fully understand the tool's behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 67%, and the description adds value for 'file_locations' (must have same schema) and 'query' (must use 'self'). However, the extensive list of supported functions is already in the input schema for 'query', so the description only marginally supplements with constraint context. Baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool reads data from file locations and executes a Polars SQL query, returning the result. It specifies the action (reads, executes), resource (file data, SQL query), and output. This differentiates it from sibling tools (get_files_list, get_schema) which focus on listing files and schemas respectively.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description notes key constraints: all files must share the same schema and columns, and the SQL query must refer to the source data as 'self'. However, it does not explicitly state when to use this tool over alternatives or when not to use it, leaving the agent to infer from context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_files_listB
Get the list of files that are source of data
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full responsibility for behavioral disclosure. It only states that the tool retrieves a list of files, implying a read operation, but gives no details about potential issues like file exclusions, access controls, or response format. This minimal disclosure is insufficient for a tool with zero annotation support.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with no extraneous words. It is front-loaded with the core action. However, it lacks structure or additional context that could be included without significant bloat, hence not a 5.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters, no output schema), the description is minimally adequate but incomplete. It fails to clarify what 'source of data' means or how the list is returned. For a straightforward listing tool, it meets the bare minimum but leaves gaps in understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has no parameters, and schema description coverage is 100% (empty). The description adds no parameter information, but since there are no parameters, the baseline score applies. The description does not need to elaborate further on parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('Get list of files that are source of data'), which clearly indicates the tool's purpose. However, the phrase 'source of data' is somewhat ambiguous, lacking precision about what types of files or sources are included. It distinguishes itself from siblings like 'execute_polars_sql' and 'get_schema' by focusing on file listing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No usage guidance is provided. There is no explicit instruction on when to use this tool versus alternatives, nor any context about prerequisites or applicability. The description only states what the tool does, leaving the agent to infer usage from the name and sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_schemaB
Get the schema of a single data file from the given file location
| Name | Required | Description | Default |
|---|---|---|---|
| file_location | Yes | ||
| file_type | No | The type of the file to be read. Supported types are csv and parquet | csv |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description does not disclose any behavioral traits beyond the basic action. For instance, it doesn't mention what happens if the file is missing or the schema is unavailable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no superfluous words. It is front-loaded and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (2 params, no output schema), the description is adequate but minimal. It doesn't cover error conditions or return details, though the core functionality is clear.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds no meaning beyond the input schema for file_location, and file_type already has a description in the schema. With 50% coverage, the description does not compensate for the missing param info.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool gets the schema of a single data file, differentiating it from sibling tools like execute_polars_sql and get_files_list. However, it could be more specific about the schema format or structure returned.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives, nor any prerequisites or context for usage. The description is purely functional without usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
3 tool updates
v0.3.0- First observed
execute_polars_sql - First observed
get_files_list - First observed
get_schema
TDQS
Each tool has a distinct purpose: listing files, inspecting schema, and executing SQL queries. No overlap or ambiguity.
All names use snake_case with a verb_noun pattern. Two tools start with 'get_', while 'execute_polars_sql' uses 'execute_', which is a slight inconsistency but still predictable.
3 tools is slightly low but appropriate for a focused analysis server covering file discovery, schema inspection, and query execution. Not overly sparse.
The set covers the basic workflow of listing data sources, examining schema, and running SQL queries. Missing possibly result writing or data transformation, but core functionality is present.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Give Claude only the Google Drive files you choose. Every action logged.
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
Brainfile memory layer for Claude Code over MCP: free starter files + weekly freshness feed.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables conversational analysis of CSV and Parquet files through natural language, providing statistics, summaries, data type information, and comprehensive multi-step data analysis.-
- AlicenseBqualityDmaintenanceEnables users to analyze local Excel and CSV files through natural language queries and a web dashboard while keeping data local. It supports saving specific analyses as reusable tools and building a custom analytics toolkit within Claude Desktop.10MIT
- FlicenseBqualityDmaintenanceEnables Claude to directly access, query, and analyze local CSV files using natural language, keeping data private and local.41-
- FlicenseNot gradedqualityDmaintenanceEnables AI models to interact with local CSV and Parquet data through MCP tools, providing summarization and analysis capabilities.1-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/unravel-team/mcp-analyst'
If you have feedback or need assistance with the MCP directory API, please join our Discord server