Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

A high-performance MCP server integrated with a Django analytics dashboard, featuring 19 tools for AI interaction tracking, AST code analysis, and real-time token efficiency metrics.

README.md

🌽 Personal MCP Intelligence Platform v2.0

A high-performance Model Context Protocol (MCP) server integrated with a Django-powered analytics dashboard. Features the Corn Intelligence toolset for comprehensive AI interaction tracking, AST code analysis, and real-time token efficiency metrics.

🚀 Key Features

1. Intelligence Dashboard

  • Real-time Monitoring: Every tool call is logged with latency, token usage, and efficiency metrics.
  • Auto-Reload: Dashboard refreshes every 15 seconds with a visual countdown indicator.
  • Token Analytics: Visualize direct token costs vs. context savings with efficiency scoring.
  • Session Explorer: Browse and drill into past sessions at /sessions/.

2. Corn Intelligence Toolset (v2.0) — 19 Tools

| # | Tool | Category | Description | |---|---|---|---| | 1 | corn_health | Core | System health — CPU, RAM, uptime | | 2 | corn_session_start | Core | Begin a tracked work session | | 3 | corn_session_end | Core | End session with summary | | 4 | corn_memory_store | Memory | Store agent memory with tags | | 5 | corn_memory_search | Memory | Keyword search over memories | | 6 | corn_knowledge_store | Knowledge | Store a shared knowledge item | | 7 | corn_knowledge_search | Knowledge | Semantic search over knowledge base | | 8 | corn_code_read | Code | Read raw source code from any file path | | 9 | corn_detect_changes | Code | Uncommitted git changes cross-referenced with AST graph | | 10 | corn_list_repos | Code | List indexed repositories with symbol counts (auto-indexes on first call) | | 11 | corn_code_search | Code | Hybrid AST symbol search by name | | 12 | corn_code_context | Code | 360° symbol view: callers, callees, hierarchy | | 13 | corn_code_impact | Code | Blast radius analysis — which files depend on a given file | | 14 | corn_cypher | Code | Graph-style queries: (a)-[:CALLS]->(b) | | 15 | corn_tool_stats | Analytics | Usage analytics over last 50 tool calls | | 16 | corn_quality_report | Quality | Submit a 3-dimension quality report (Clarity/Efficiency/Security) | | 17 | corn_record_conversation | Analytics | Log raw conversation token usage to Dashboard | | 18 | corn_plan_quality | Quality | Score a plan text against 8 quality criteria (must ≥80%) | | 19 | corn_changes | Analytics | Check recent git commits by agents (git log -n 5) |

3. AST Code Intelligence Engine

  • Auto-Indexing: corn_list_repos automatically scans and indexes Python source files on first call.
  • Symbol Graph: Stores Function, Class, and Method nodes with CALLS / INHERITS relationships in MySQL.
  • Blast Radius: corn_code_impact identifies all callers transitively affected by changes to a file.

4. Token Efficiency Metrics

  • Accurate Counting: Heuristic blends character density and word count — max(chars/4, words × 1.35) — for reliable estimation across code and natural language.
  • Context Saved: For search tools (memory_search, knowledge_search, code_search), tokens saved = total DB tokens − tokens returned. Reflects real context reduction.
  • Efficiency (%): Saved / (Used + Saved). Aim for >80%!

🏛️ Architecture

IDE (Antigravity / Claude)
    │  stdio (MCP protocol)
    ▼
Docker: personal-mcp-web
    ├── Django MCP Server (run_mcp management command)
    │       └── 19 Corn Intelligence Tools
    ├── AST Indexer (mcp_server/utils/indexer.py)
    └── Django Dashboard (http://localhost:8000)
            └── Real-time Activity Log, Sessions, Token Analytics
    │
    ▼
Docker: mcp_mysql_db (MySQL 8)
    ├── Session, ToolLog
    ├── Memory, Knowledge
    └── Repository, Symbol, SymbolRelation, PlanQuality

🏃 Getting Started

  1. Launch Services:
    docker-compose up -d
  1. Connect IDE — add to your MCP config (mcp_config.json):
    {
      "mcpServers": {
        "personal-mcp-v2": {
          "command": "/usr/local/bin/docker",
          "args": ["exec", "-i", "personal-mcp-web", "python", "manage.py", "run_mcp", "--verbosity", "0", "--no-color", "--skip-checks"]
        }
      }
    }
  1. Run Migrations (first-time setup):
    docker exec personal-mcp-web python manage.py migrate
  1. Explore Dashboard: http://localhost:8000/

🛠️ Development

Apply new migrations after model changes: ``bash docker exec personal-mcp-web python manage.py makemigrations mcp_server docker exec personal-mcp-web python manage.py migrate mcp_server ``

Check Django config inside container: ``bash docker exec personal-mcp-web python manage.py check ``

View live logs: ``bash docker logs -f personal-mcp-web ``

--- Powered by Antigravity — Premium AI Engineering.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Developer Tools servers.