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: csv-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.

Inputs: file_locations (required), query (required), file_type.

get_files_listB

Get the list of files that are source of data

Inputs: no named parameters.

get_schemaB

Get the schema of a single data file from the given file location

Inputs: file_location (required), file_type.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 3 tools

    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
    ResponsivenessNo recent community issues

    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
      15 PyPI
      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.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with local CSV and Parquet data files through natural language queries, facilitating tasks like summarizing datasets or retrieving specific information.
      4
      -