Metadata-Version: 2.4
Name: dispense-record-mcp
Version: 1.0.9
Summary: GOC-compliant optical dispense record validation. Captures prescription, lens choice, fitting measurements, supplier traceability for UK opticians.
Project-URL: Homepage, https://meok.ai
Project-URL: Repository, https://github.com/CSOAI-ORG/dispense-record-mcp
Author-email: MEOK AI Labs <hello@meok.ai>
License: MIT License
        
        Copyright (c) 2026 MEOK AI Labs
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: dispense,frame,goc,lens,mcp,mcp-server,model-context-protocol,optical,prescription,record,uk-compliance,uk-optician
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: mcp>=1.28.0
Description-Content-Type: text/markdown

<!-- mcp-name: io.github.CSOAI-ORG/dispense-record-mcp -->
[![MCP Scorecard: 84/100](https://img.shields.io/badge/proofof.ai-84%2F100-5b21b6)](https://proofof.ai/scorecard/dispense-record-mcp.html)

# Optical Dispense Record

[![PyPI](https://img.shields.io/pypi/v/dispense-record-mcp)](https://pypi.org/project/dispense-record-mcp/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![MEOK AI Labs](https://img.shields.io/badge/MEOK_AI_Labs-uk--specialist-purple)](https://meok.ai)

GOC-compliant optical dispense record validation. Captures prescription, lens choice, fitting measurements, supplier traceability for UK opticians.

## Install

```bash
pip install dispense-record-mcp
```

## Tools

| Tool | Purpose |
|------|---------|
| `validate_dispense_record` | GOC requirements check on a dispense record |
| `rx_transcription_check` | Catch common Rx transcription errors (sphere/cylinder/axis) |
| `lens_suitability` | Lens type suitability against prescription + lifestyle |
| `supplier_traceability` | Lens/frame batch + supplier traceability |
| `flag_dispensing_complaint_risk` | Common dispense-complaint triggers |

## Built by a UK practitioner

Nicholas Templeman runs an active UK optical practice (templeman-opticians.com) + AI compliance company. This MCP encodes lessons from real workflows, not paperwork theory.

## Pricing

- **Free**: 10 calls/day. No API key.
- **Pro** £79/mo: unlimited + signed attestations. [Subscribe](https://buy.stripe.com/aFa7sNcgAdQS0ZT1Uc8k91t)
- **Enterprise** £1,499/mo: white-label + on-premise. hello@meok.ai

## License

MIT © MEOK AI Labs

<!-- BUY-LADDER:START -->

## 💸 Try MEOK in 30 seconds — instant buy ladder

| Tier | Price | What you get | Stripe |
|---|---|---|---|
| Smoke test | **£1** | Signed sample MCP-Hardening report + Article 50 PDF | <https://buy.stripe.com/aFa7sNcgAdQS0ZT1Uc8k91t> |
| Quick Kit | **£9** | EU AI Act Article 50 implementation guide (C2PA + EU-Icon) | <https://buy.stripe.com/aFa7sNcgAdQS0ZT1Uc8k91t> |
| Founder Call | **£29** | 30-min 1-on-1 with the founder | <https://buy.stripe.com/aFa7sNcgAdQS0ZT1Uc8k91t> |

> Refundable. UK Stripe — VAT-clean. Builds on the 81-MCP MEOK fleet.
> Verify any signed report at <https://meok.ai/verify>.

<!-- BUY-LADDER:END -->



## Configuration

Add to your `claude_desktop_config.json` (Claude Desktop) or your MCP client config:

```json
{
  "mcpServers": {
    "dispense-record-mcp": {
      "command": "uvx",
      "args": ["dispense-record-mcp"]
    }
  }
}
```

Or: `pip install dispense-record-mcp` then run the `dispense-record-mcp` command (stdio transport).

## Examples

Once configured, ask your assistant, for example:
- "Use `validate_dispense_record` to …"
- "Use `rx_transcription_check` to …"
- "Use `lens_suitability` to …"
