Connectto MIL.
You need a MIL key. Sign in, open Keys and make one. It is shown once, so keep it somewhere safe. Replace YOUR_KEY below with it, or sign in first and this page fills it in for you.
In Claude
For claude.ai and the Claude desktop app.
- Open Settings, then Connectors, then Add custom connector.
- Name it Medware Intelligence Layer and paste this URL:
The key sits in the URL because custom connectors cannot send headers. Treat the URL like a password. If it leaks, revoke the key in your dashboard and make a new one.
Then ask Claude something like "Using MIL, what are the PBS restriction criteria for rifaximin, with citations?" Claude calls mil_search and cites each passage with its source.
In Claude Code
Add --scope project to share it with a repository's team through .mcp.json, with each person's key in their own environment.
Tools Claude gets
| Tool | What it does |
|---|---|
mil_search | Keyword and meaning search across every passage, with numbered citations. |
mil_document | Read more of a cited document, in order. |
mil_pbs_item | Everything about one PBS item code: listings, restrictions, AMT, markets, usage. |
mil_item_statistics | Monthly Medicare PBS services and benefit for an item, by state, scheme or patient category. |
mil_markets, mil_market_monthly | Find a market (ATC class, therapeutic group, indication) and its monthly figures. |
mil_entities, mil_entity, mil_related | Move across the graph of medicines, brands, conditions and organisations. |
mil_sources, mil_usage | Every source with its licence, and your own usage. |
mil_feedback | Rate an answer by its request_id, helpful or not and why. This is how the beta learns what is valuable. |
mil_questions | Recent questions from your organisation, the weak answers and the most asked. |
From your own apps
The HTTPS API. Send your key on the x-api-key header.
| Call | Returns |
|---|---|
GET /v1/search?q=&n=10 | Passages with a citation block: title, section, pages, URL, version date, licence, attribution. |
GET /v1/documents?id= | One document and its passages. |
GET /v1/pbs/items/{code} | PBS item profile. |
GET /v1/stats/pbs-items/{code}?by=state | Medicare PBS statistics by month. |
GET /v1/markets?q=, /v1/markets/{key}/monthly | Markets and their monthly figures. |
GET /v1/entities?q=, /v1/entities/{id}, /v1/related?scheme=&code= | The entity graph. |
GET /v1/sources, /v1/usage | Sources and licences; your usage. |
POST /v1/feedback | Rate a response: {request_id, rating: "helpful"|"not_helpful", reason?, comment?}. Every response carries its request_id. |
GET /v1/questions?days=30&weak=true | Your organisation's recent questions; view=top for the most asked. |
Beta limits: 60 requests a minute and 20,000 a month per key. Responses carry X-RateLimit-Remaining; a 429 carries Retry-After.
Good practice
- Cite what you use. Every result carries its publisher's link and version date.
- Check the original before relying on anything clinical. MIL is an information service, not medical advice.
- Beta content is for evaluation by invited users, not for redistribution.
