key-drivers-mcp

by petrmasa

Not rated
GitHub

About

MCP server for key driver and feature importance analysis based on rule mining

Details

Author
petrmasa
Categories
Database, Other

Setup

Install key-drivers-mcp in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/petrmasa/key_drivers_mcp

Follow the installation instructions in the repository README, then restart your MCP client.

MCP server for key driver and feature importance analysis. Load any CSV dataset and ask what drives an outcome — survival, credit default, diagnosis, income — and get a ranked breakdown with sub-driver analysis showing not just which factors matter, but how they combine to amplify or completely reverse each other.

Powered byaraxai(CleverMiner association rule analysis).

Add this to your MCP client config (e.g. Claude Code.mcp.json). No installation needed —uvxfetches and runs the package automatically.

{ "mcpServers": { "key-drivers": { "type": "stdio", "command": "uvx", "args": ["key-drivers-mcp"] } } }

Nouv?Install it withpip install uv, or usepipx install key-drivers-mcpand set"command": "key-drivers-mcp"instead.

"What are the key drivers to survive in titanic.csv?"

Sub-drivers are returned automatically. Withinmale passengers, 1st class men recovered to 36.9% — nearly double the male average. Withinlow-fare passengers, women still survived at 60.8% while men reached only 10.7%.

Titanic — drill-down from global to a specific segment

"And within women in 3rd class, what helped survival?"

The global result showssexas the top driver (women 74.2%, men 18.9%). Sub-drivers within women immediately reveal that3rd class women dropped to 50%— a coin flip, far below the female average. That triggers a follow-up withfilters={"sex": "female", "pclass": "3"}:

144 women in 3rd class — segment baseline: 50%

Queenstown passengers (mostly Irish emigrants boarding late in small groups) survived at nearly twice the rate of Southampton passengers — a pattern completely invisible in the global analysis. Each drill-down level answers a narrower question using the previous result as the starting point.

German Credit — how factors combine and reverse each other

"What are the key drivers for good credit?"

An overdrawn checking account drops approval to 50.7% — but the sub-driver analysis shows the outcome depends sharply on what else is true:

The same risk factor (overdrawn account) leads to very different outcomes depending on credit history. Borrowers with no checking account are actually safer on long loans — likely self-employed or asset-wealthy.

Diabetes — combinations push risk above 80%

"What are the key drivers for testing positive for diabetes?"

High glucose is already a strong signal (74%), but combining it with age 27–33, elevated BMI, or high pregnancy count pushes risk above 84%. The tool surfaces these compound profiles in a single call.

Income — education can completely override marital status

"What drives income above $50K for women specifically?"

Usingfilters={"sex": "Female"}— women's baseline: 10.9% (vs 23.9% overall):

Never-married women with a doctorate still reach 35.7% — three times the women's baseline — showing that education fully overrides the marital status penalty. The same inversion appears in the overall dataset: never-married alone → 4.5%, but never-married + Doctorate → 44.3%, almost twice the global baseline.

araxai uses association rule analysis (CleverMiner) to find statistically significant rules that explain why a target class occurs. Each driver rule reports:

- probability— how often the target class occurs in that segment
- vs_global_baseline— lift relative to the whole dataset
- vs_parent_segment— lift relative to the parent rule (for sub-drivers)
- strength+/-signs indicating rule reliability

Numeric columns are automatically binned into quantiles. The server enriches every top-level driver with a sub-analysis, so compound profiles like "overdrawn + long loan" or "high glucose + age 27–33" are returned in a single call.

- Python 3.11+
- araxai >= 0.3.0
- mcp[cli] >= 1.0.0

Manage Apache Superset datasets, metrics, and SQL queries.

Connects Claude Desktop to Tableau Server, enabling natural language interactions with your Tableau data and administrative capabilities.

Interact with Tableau Server using natural language to query data and perform administrative tasks.

Get clear, reliable and actionable Customer Insights with AI.

Honeydew semantic layer provides a governed, business-friendly data model that unifies metrics, dimensions, and relationships across sources, enabling consistent self-service analytics and AI-powered data access

Windsor MCP enables your LLM to query, explore, and analyze your full-stack business data integrated into Windsor.ai with zero SQL writing or custom scripting.

Connect your business data to any MCP client. AgenticBI agents find the right data, join across systems, run queries, build dashboards, generate reports, and automate analytics workflows. No SQL required.

Read-only MCP server for the SAP analytics services market — consulting firms, contract radar, day rates, concepts, studies and news across SAP Datasphere, Business Data Cloud, SAC, BW/4HANA and Databricks.

Analyze and manage traffic, funnels, cohorts, revenue, errors

Live MCP server connecting AI agents to 36+ business data sources. OAuth 2.1 PKCE.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.