
Quick Data
STDIOMCP server for data analysis on JSON and CSV files using tools and prompts.
MCP server for data analysis on JSON and CSV files using tools and prompts.
Purpose: Learn to build Powerful Model Context Protocol (MCP) servers by scaling tools into reusable agentic workflows (ADWs aka Prompts w/tools).
Quick-Data is a MCP server that gives your agent arbitrary data analysis on .json and .csv files.
We use quick-data as a concrete use case to experiment with the MCP Server elements specifically: Prompts > Tools > Resources.
See quick-data-mcp for details on the MCP server
We experiment with three leading questions:
MCP servers have three main building blocks that extend what AI models can do:
What: Functions that AI models can call to perform actions.
When to use: When you want the AI to DO something at a low to mid atomic level based on your domain specific use cases.
Example:
@mcp.tool() async def create_task(title: str, description: str) -> dict: """Create a new task.""" # AI can call this to actually create tasks return {"id": "123", "title": title, "status": "created"}
What: Data that AI models can read and access.
When to use: When you want the AI to READ information - user profiles, configuration, status, or any data source.
Example:
@mcp.resource("users://{user_id}/profile") async def get_user_profile(user_id: str) -> dict: """Get user profile by ID.""" # AI can read this data to understand users return {"id": user_id, "name": "John", "role": "developer"}
What: Pre-built conversation templates that start specific types of discussions.
When to use: When you want to give the AI structured starting points for common, repeatable workflows for your domain specific use cases.
Example:
@mcp.prompt() async def code_review(code: str) -> str: """Start a code review conversation.""" # AI gets a structured template for code reviews return f"Review this code for security and performance:\n{code}"
To use the Quick Data MCP server:
Navigate to the MCP server directory:
cd quick-data-mcp/
Configure for your MCP client:
# Copy the sample configuration cp .mcp.json.sample .mcp.json # Edit .mcp.json and update the --directory path to your absolute path # Example: "/Users/yourusername/path/to/quick-data-mcp"
Test the server:
uv run python main.py
See quick-data-mcp/README.md for complete setup and usage documentation.
Learn to code with AI with foundational Principles of AI Coding
Follow the IndyDevDan youtube channel for more AI coding tips and tricks.
Use the best Agentic Coding Tool: Claude Code