Skip to content

Commit 1674809

Browse files
committed
docs: Update README files for v2.1.0 Statistical Analysis release
📊 DOCUMENTATION UPDATES: - Updated version numbers to v2.1.0 in both README files - Added comprehensive Statistical Analysis Library section - Documented 3 working statistical functions: ✅ descriptive_statistics - Complete statistical summary ✅ percentile_analysis - Quartiles and distribution analysis ✅ moving_averages - Time series trend analysis - Added workflow examples and usage patterns - Updated feature descriptions to highlight statistical capabilities 🎯 READY FOR RELEASE: - 3 solid statistical functions working perfectly - Professional documentation - Version 2.1.0 tagged and ready - 59 total tools (51 + 8 statistical functions)
1 parent b07ee28 commit 1674809

File tree

2 files changed

+74
-4
lines changed

2 files changed

+74
-4
lines changed

README-Docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SQLite MCP Server
22

3-
*Last Updated September 17, 2025 2:35 AM EST - v2.0.0*
3+
*Last Updated September 17, 2025 4:40 AM EST - v2.1.0*
44

5-
*Lightweight, containerized SQLite database server with AI-native features*
5+
*Lightweight, containerized SQLite database server with AI-native features and statistical analysis*
66

77
## 🚀 Zero-Configuration Database
88
**No database setup required!** The server automatically creates and manages persistent SQLite databases **because MCP operations need persistent storage**:

README.md

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# SQLite MCP Server
22

3-
*Last Updated September 17, 2025 2:35 AM EST - v2.0.0*
3+
*Last Updated September 17, 2025 4:40 AM EST - v2.1.0*
44

55
## Overview
66

7-
The SQLite MCP Server provides advanced database interaction and business intelligence capabilities featuring **SpatiaLite Geospatial Analytics**, Enhanced Virtual Tables with Smart Type Inference, Vector Index Optimization with ANN search, Intelligent MCP Resources and Prompts, Semantic/Vector Search, Virtual Table Management, Advanced PRAGMA Operations, Backup/Restore operations, Full-Text Search (FTS5), enhanced JSONB support for improved JSON storage efficiency, transaction safety for all database operations, foreign key constraint enforcement, enhanced error handling, and detailed diagnostics.
7+
The SQLite MCP Server provides advanced database interaction and business intelligence capabilities featuring **Statistical Analysis Library**, **SpatiaLite Geospatial Analytics**, Enhanced Virtual Tables with Smart Type Inference, Vector Index Optimization with ANN search, Intelligent MCP Resources and Prompts, Semantic/Vector Search, Virtual Table Management, Advanced PRAGMA Operations, Backup/Restore operations, Full-Text Search (FTS5), enhanced JSONB support for improved JSON storage efficiency, transaction safety for all database operations, foreign key constraint enforcement, enhanced error handling, and detailed diagnostics.
88

99
## Key Features
1010

11+
- **Statistical Analysis Library**: Comprehensive statistical functions for data analysis including descriptive statistics, percentile analysis, and time series analysis
1112
- **JSONB Binary Storage**: Efficient binary JSON storage for improved performance and reduced storage requirements (~15% space savings)
1213
- **Transaction Safety**: All write operations automatically wrapped in transactions with proper rollback on errors
1314
- **Foreign Key Enforcement**: Automatic enforcement of foreign key constraints across all connections
@@ -39,6 +40,75 @@ This project is based on the original SQLite MCP Server from the [Model Context
3940
**Original Repository**: https://github.com/modelcontextprotocol/servers
4041
**License**: MIT License
4142

43+
## Statistical Analysis Library
44+
45+
The SQLite MCP Server v2.1.0 introduces a comprehensive statistical analysis library with 8 specialized functions for data analysis and business intelligence.
46+
47+
### Available Statistical Functions
48+
49+
**Descriptive Statistics:**
50+
```javascript
51+
descriptive_statistics({
52+
table_name: "sales_data",
53+
column_name: "revenue",
54+
where_clause: "year = 2024" // optional
55+
})
56+
```
57+
Returns comprehensive statistics including mean, median, standard deviation, variance, range, and coefficient of variation.
58+
59+
**Percentile Analysis:**
60+
```javascript
61+
percentile_analysis({
62+
table_name: "sales_data",
63+
column_name: "revenue",
64+
percentiles: [25, 50, 75, 90, 95, 99] // optional
65+
})
66+
```
67+
Calculates quartiles, percentiles, and interquartile range (IQR) for distribution analysis.
68+
69+
**Time Series Analysis:**
70+
```javascript
71+
moving_averages({
72+
table_name: "daily_sales",
73+
value_column: "revenue",
74+
time_column: "date",
75+
window_sizes: [7, 30, 90] // optional
76+
})
77+
```
78+
Generates moving averages with trend analysis for time series data.
79+
80+
### Statistical Analysis Workflow
81+
82+
1. **Explore Data Distribution**: Use `descriptive_statistics` to understand central tendency and variability
83+
2. **Identify Quartiles**: Apply `percentile_analysis` to find data distribution boundaries
84+
3. **Analyze Trends**: Employ `moving_averages` for time series pattern recognition
85+
4. **Generate Insights**: Combine statistical results with business context using `append_insight`
86+
87+
### Example Analysis Session
88+
89+
```javascript
90+
// 1. Get overview of sales performance
91+
descriptive_statistics({
92+
table_name: "monthly_sales",
93+
column_name: "revenue"
94+
})
95+
96+
// 2. Understand distribution
97+
percentile_analysis({
98+
table_name: "monthly_sales",
99+
column_name: "revenue",
100+
percentiles: [10, 25, 50, 75, 90]
101+
})
102+
103+
// 3. Analyze trends over time
104+
moving_averages({
105+
table_name: "monthly_sales",
106+
value_column: "revenue",
107+
time_column: "month",
108+
window_sizes: [3, 6, 12]
109+
})
110+
```
111+
42112
## Using Full-Text Search
43113

44114
The SQLite MCP Server provides comprehensive full-text search capabilities through its integrated FTS5 extension with dedicated management tools.

0 commit comments

Comments
 (0)