Skip to main content
Glama

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 uv

Windows

winget install --id=astral-sh.uv  -e

Related 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 tools
execute_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.

ParametersJSON Schema
NameRequiredDescriptionDefault
file_locationsYes
queryYes 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_typeNoThe type of the file to be read. Supported types are csv and parquetcsv

TDQS

B3.4/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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

ParametersJSON Schema
NameRequiredDescriptionDefault
file_locationYes
file_typeNoThe type of the file to be read. Supported types are csv and parquetcsv

TDQS

B3.1/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

  1. 3 tool updatesv0.3.0
    • First observedexecute_polars_sql
    • First observedget_files_list
    • First observedget_schema

TDQS

A3.5/5.0
Disambiguation5/5

Each tool has a distinct purpose: listing files, inspecting schema, and executing SQL queries. No overlap or ambiguity.

Naming Consistency4/5

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.

Tool Count4/5

3 tools is slightly low but appropriate for a focused analysis server covering file discovery, schema inspection, and query execution. Not overly sparse.

Completeness4/5

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

ActivityInactive
ResponsivenessSyncing

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

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables 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.
    10
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Enables Claude to directly access, query, and analyze local CSV files using natural language, keeping data private and local.
    4
    1
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI models to interact with local CSV and Parquet data through MCP tools, providing summarization and analysis capabilities.
    1
    -

Latest Blog Posts

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