Skip to main content
Glama

@aegis-ai/mcp-outcomes

An MCP (Model Context Protocol) server for tracking decisions and their outcomes. Record what you tried, whether it worked, and get data-driven recommendations over time.

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "outcomes": {
      "command": "bunx",
      "args": ["@aegis-ai/mcp-outcomes"]
    }
  }
}

Or with npx:

{
  "mcpServers": {
    "outcomes": {
      "command": "npx",
      "args": ["-y", "@aegis-ai/mcp-outcomes"]
    }
  }
}

Manual

git clone https://github.com/aegis-ai-coop/mcp-outcomes.git
cd mcp-outcomes
bun install
bun src/index.ts

Related MCP server: ai-journal

Tools

record_outcome

Record a decision and its result.

{
  "decision": "Used Redis caching for session storage",
  "context": "infrastructure",
  "outcome": "Reduced p99 latency from 200ms to 15ms",
  "success": true,
  "tags": ["caching", "redis", "performance"]
}

query_outcomes

Search past outcomes by tags, date range, text, or success status.

{
  "tags": ["performance"],
  "success": true,
  "limit": 20
}
{
  "text": "caching",
  "start_date": "2025-01-01",
  "end_date": "2025-06-30"
}

get_stats

Returns success rates, per-tag breakdowns, trend analysis, and recommendations. No parameters required.

{}

Example response:

{
  "total_outcomes": 47,
  "overall_success_rate": 0.72,
  "by_tag": {
    "caching": { "total": 12, "successes": 10, "failures": 2, "success_rate": 0.83 },
    "refactoring": { "total": 8, "successes": 3, "failures": 5, "success_rate": 0.38 }
  },
  "recent_trend": {
    "last_10_success_rate": 0.80,
    "last_30_success_rate": 0.70
  },
  "recommendations": [
    "Tag \"refactoring\" has a 38% success rate across 8 outcomes. Consider changing your approach.",
    "Tag \"caching\" performs well at 83% success across 12 outcomes. Keep using this approach.",
    "Recent performance is improving: last 10 at 80% vs last 30 at 70%. Current approach is working."
  ]
}

list_recent

List the N most recent outcomes.

{
  "count": 5
}

Data Storage

Outcomes are stored in ~/.mcp-outcomes/data.json. The file is created automatically on first use.

Features

  • Record decisions with context, outcomes, tags, and optional metadata

  • Full-text search across decisions, contexts, and outcomes

  • Filter by tags, date ranges, and success/failure

  • Per-tag success rate breakdown

  • Trend analysis comparing recent vs historical performance

  • Automatic recommendations based on patterns in your data

  • Local JSON storage with no external dependencies

License

MIT - AEGIS AI Cooperative

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A small MCP server that stores and retrieves compact decision-relevant state (goals, constraints, facts, decisions) outside the chat context, enabling easy retrieval for Claude Code or Codex.
      8
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      A local MCP server for journaling, organizing, and recalling your work. It captures entries as plain markdown files, indexes them for full-text and structured search, and enables querying via natural language.
      57 PyPI
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that records decisions, rejected alternatives, and justifications, and retrieves them later to avoid re-litigating past choices. It stores data locally in SQLite and Markdown.
      2
      Apache 2.0