StatSource
Statsource is a standalone MCP server designed to simplify data analysis. Whether you're pulling data from a PostgreSQL database or a CSV file, Statsource delivers actionable insights with ease
Overview
StatSource is a standalone MCP server designed to simplify data analysis, allowing users to pull data from PostgreSQL databases or CSV files to deliver actionable insights.
To use StatSource, clone the repository from GitHub, set up a virtual environment, install the required dependencies, configure the server with your API key and database connection (if applicable), and then run the server.
- Statistical tools for calculating means, medians, standard deviations, etc. - Supports flexible data sources including PostgreSQL databases and CSV files. - Operates independently on your local machine for maximum control. - Open-source for customization to fit specific needs.
- Performing statistical analysis on large datasets from databases.
- Analyzing CSV files for quick insights.
- Integrating with AI agents for enhanced data processing capabilities.
Add to your AI client
Use these steps to connect StatSource in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"statsource-mcp-jamie7893": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-statsource-mcp-jamie7893"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"statsource-mcp-jamie7893": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-statsource-mcp-jamie7893"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"statsource-mcp-jamie7893": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-statsource-mcp-jamie7893"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"statsource-mcp-jamie7893": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-statsource-mcp-jamie7893"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"statsource-mcp-jamie7893": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-statsource-mcp-jamie7893"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"statsource-mcp-jamie7893": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-statsource-mcp-jamie7893"
]
}
}
}FAQ
What programming language is StatSource built with?
StatSource is built with Python and requires Python 3.8 or higher.
Is StatSource free to use?
Yes! StatSource is open-source and free to use.
Can I use StatSource without a database?
Yes! You can analyze data from CSV files without needing a database.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3388,"uuid":"8c4219d5-d0e9-4e08-9b5b-2685cc7f6a4e","name":"statsource-mcp","title":"StatSource","description":"Statsource is a standalone MCP server designed to simplify data analysis. Whether you're pulling data from a PostgreSQL database or a CSV file, Statsource delivers actionable insights with ease","avatar_url":"","created_at":"2025-03-19T08:28:41.135Z","updated_at":"2025-03-20T03:08:33.712Z","status":"created","author_name":"jamie7893","author_avatar_url":null,"tags":"mathgpt,math-solver,math-assistant","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/jamie7893/statsource-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":"7f2e8022-9b50-4aa9-9a35-789a81dbd5b9","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]