Skip to main content

AgentKit MCP Server — Business Intelligence tools for Claude/Cursor agents.

Project description

AgentKit — MCP Server for Business Intelligence Agents

CI License: MIT

Expose enterprise KPIs, health scores, forecasting, and anomaly detection as tools, resources, and prompt templates that any MCP-compatible agent (Claude Desktop, Cursor, LangGraph, Claude Agent SDK, CrewAI) can use.

🔗 Live MCP server (SSE): https://agentkit.ysiddo-ai-projects.app/sse — connect from Claude Desktop via mcp-remote (see claude_desktop_config.example.json). On-demand backend (first call ~30–60 s).

What It Does

  • 6 MCP Tools: query_kpis, get_company_health, detect_kpi_anomalies, forecast_metric, list_available_metrics, get_executive_summary
  • 6 MCP Resources: kpi://Finance/latest and similar for Growth, Operations, People, ESG, IT_Ops
  • 1 Reusable Prompt: monthly_executive_briefing
  • LangGraph 3-agent workflow in workflow.py
  • Claude Agent SDK demo in demos/claude_agent_sdk_demo.py
  • CrewAI demo in demos/crewai_demo.py
  • DSPy research scaffold in research/dspy_experiment.py

Quick Start

python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env  # fill in keys + POSTGRES_URL
python mcp_server.py

Claude Desktop Setup

Add to ~/.config/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "agentkit": {
      "command": "python",
      "args": ["/abs/path/to/agentkit/mcp_server.py"],
      "env": {
        "POSTGRES_URL": "postgresql://...",
        "ANTHROPIC_API_KEY": "sk-ant-..."
      }
    }
  }
}

Restart Claude Desktop, then ask:

  • "What's our company health right now?"
  • "Forecast revenue for the next 6 months."
  • "Are there anomalies in the Finance KPIs?"

LangGraph Workflow

from workflow import analyze
result = analyze("What drove gross margin in Q1?")
print(result["report"])

Architecture

        Claude Desktop / Cursor / LangGraph
                      │
                      ▼ MCP
              ┌──────────────────┐
              │  mcp_server.py   │
              │   6 tools        │
              │   6 resources    │
              │   1 prompt       │
              └────────┬─────────┘
                       │
        ┌──────────────┼──────────────┐
        ▼              ▼              ▼
   pg_store      insights      forecasting
   (KPIs)        (health,      (LinearReg
                 anomalies)    + Monte Carlo)

License

MIT

⚖️ License & Enterprise Use (Dual-License)

This project is open-source under the AGPL-3.0 License. It is completely free for researchers, students, and open-source hobbyists.

Commercial Use: The AGPLv3 license requires that any proprietary network service (SaaS, internal corporate tools) that uses or modifies this code must also open-source its entire backend.

If you wish to use this framework in a closed-source commercial environment, or require Enterprise features (SSO, Active Directory, Custom VPC Deployment, Strict RBAC), you must obtain a Commercial License. Please reach out to discuss commercial licensing and integration consulting.

📡 Anonymous Telemetry

This project collects anonymous, GDPR-compliant startup pings to help the author understand usage volume and prioritize development.

  • What is collected: Only the project name and a "startup" event timestamp. No PII, no API keys, no user data.
  • How to disable: We respect your privacy. To opt-out, simply set TELEMETRY_OPT_OUT=true in your .env file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentkit_mcp-0.1.3.tar.gz (104.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentkit_mcp-0.1.3-py3-none-any.whl (102.9 kB view details)

Uploaded Python 3

File details

Details for the file agentkit_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: agentkit_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 104.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for agentkit_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 39ec2682fd72c5fd7d32aef3092cd833e581cc96ba970d2087887628a42f2612
MD5 8845b4a4b3b52c3e15df815839938c3b
BLAKE2b-256 59a80557215996e0b25624ca01f46fc80d1ddcf9d7d5e88b60082ad97656cab3

See more details on using hashes here.

File details

Details for the file agentkit_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: agentkit_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 102.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for agentkit_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e16d7fcacc69802718ecfc15e4febf5c456f364946a774159ca8dff6f43ab792
MD5 da2d403e3619d3f70b4b8cd307b95efc
BLAKE2b-256 77f9f2e23ad2bce95a4f7af9548ce42ed4c5fde022158ff13286e52d61f510f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page