Skip to main content
Glama
gcassata74

Opportunity Radar

by gcassata74

Opportunity Radar — a tiny MCP server in Python

The friendly operational arm of an AI assistant.

Opportunity Radar is a deliberately small example of an MCP server. It exposes one tool, opportunity_radar, that turns an unstructured business note into explainable signals:

  • revenue

  • automation

  • risk

  • urgency

  • data

The scoring logic is deterministic and local. An AI assistant can decide when the tool is relevant, but the server owns the capability and returns an auditable result.

This is a deliberately small demonstration project: it does not send messages, modify external systems, or perform irreversible actions.

The companion technical article is available in technical_article_en.md.

Run locally

Python 3.10+ is required.

python -m venv .venv
source .venv/bin/activate
python -m pip install -e .
python -m mcp_opportunity_radar.server

For the MCP Inspector, install the CLI extra and run:

mcp dev mcp_opportunity_radar/server.py

The server uses the default stdio transport when run directly. It exposes:

  • Tool: opportunity_radar(note)

  • Resource: radar://about

Related MCP server: Cronhaus Inbox MCP Server

Example

Input:

The sales team is blocked by a manual pricing spreadsheet and needs a deal dashboard today.

Output:

{
  "opportunity_score": 90,
  "priority": "high",
  "signals": ["revenue", "automation", "urgency", "data"],
  "evidence": {
    "revenue": ["sales", "deal"],
    "automation": ["manual", "spreadsheet", "blocked"],
    "urgency": ["blocked", "today"],
    "data": ["dashboard"]
  },
  "next_action": "Quantify the commercial impact and define the smallest valuable experiment."
}

Why this is an MCP example

The model remains the reasoning layer. The MCP server is the operational arm: a bounded, discoverable and testable capability that can be reused by any compatible MCP host.

For production use, add authentication, authorization, input limits, structured error handling, audit logging and human confirmation before any tool with side effects.

Project layout

mcp-opportunity-radar/
├── mcp_opportunity_radar/
│   ├── radar.py       # deterministic scoring logic
│   └── server.py      # MCP tool and resource registration
├── tests/             # unit tests for the scoring logic
├── assets/            # article artwork
├── technical_article_en.md
└── pyproject.toml

License

MIT

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI-powered invoice analysis and reasoning: given invoice fields, it detects missing data, inconsistencies, duplicates, and proposes actions (register, request data, mark duplicate, review) using deterministic rules.
    -
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to assess a small business's AI readiness (0–100 score), suggest tailored AI use cases, describe Essetech's services, and book a free consultation.
    4
    9
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Classifies text into structured semantic units with authority, risk, and attention scores. Enables deterministic preprocessing for AI agents to filter and route content without using an LLM.
    10
    MIT