# Nigrovic 2002 Bacterial Meningitis Score (BMS) Calculator

> Nigrovic 2002 Bacterial Meningitis Score (BMS) Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Computes the Nigrovic 2002 Bacterial Meningitis Score from five clinical boolean flags and returns a risk classification (very_low_risk if 0, not_low_risk if ≥1) with a maximum score of 6.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/bacterial_meningitis
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nigrovic-2002-bacterial-meningitis-score-bms-calculator-5d42aeb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sMFZk6Y_BhlojEvmi-7qS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nigrovic-2002-bacterial-meningitis-score-bms-calculator-5d42aeb4
```

Example prompt: Score this pediatric meningitis case using the Nigrovic 2002 Bacterial Meningitis Score: CSF Gram stain is negative, CSF ANC is above 1000 cells/µL (true), CSF protein is below 80 mg/dL (false), peripheral ANC is above 10,000 cells/µL (true), and the child had a seizure at presentation (true).

## When to prefer this

Use this endpoint when you need to apply the validated Nigrovic 2002 Bacterial Meningitis Score to a pediatric patient with CSF pleocytosis and already have the five required clinical data points (Gram stain result, CSF ANC threshold, CSF protein threshold, peripheral ANC threshold, seizure status). Prefer this over general LLM reasoning when you need an auditable, deterministic score. Do not use for neonates or as a standalone meningitis diagnosis tool.

## Known failure modes

- Missing required boolean query parameters (csf_gram_stain, csf_anc_ge_1000, csf_protein_ge_80, peripheral_anc_ge_10000, seizure) returns a validation error
- Passing non-boolean values for boolean fields causes a schema validation failure
- Score applies only to children with CSF pleocytosis; caller must ensure patient population is appropriate (not neonates)
- No network connectivity or payment failure via x402 results in no response

## How this service works

Nigrovic 2002 Bacterial Meningitis Score: CSF Gram stain (2), CSF ANC ≥1000 cells/µL (1), CSF protein ≥80 mg/dL (1), peripheral ANC ≥10 000 cells/µL (1), seizure (1). Max 6. very_low_risk if 0, not_low_risk if ≥1. Children with CSF pleocytosis as in Nigrovic 2002; not a neonatal score. Not a meningitis diagnosis or an antibiotic/LP order. magent does not stain CSF, count neutrophils, assay protein, or witness a seizure.

## Output

Returns the total Bacterial Meningitis Score (0–6), where a positive CSF Gram stain contributes 2 points and each other positive criterion (CSF ANC ≥1000, CSF protein ≥80, peripheral ANC ≥10,000, seizure) contributes 1 point. Also returns a risk classification: 'very_low_risk' if the total score is 0, or 'not_low_risk' if the score is ≥1.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "csf_gram_stain",
      "csf_anc_ge_1000",
      "csf_protein_ge_80",
      "peripheral_anc_ge_10000",
      "seizure"
     ],
     "properties": {
      "seizure": {
       "type": "boolean",
       "description": "Seizure at or before presentation as assigned by the caller (Nigrovic 2002). true scores 1. magent does not witness a seizure."
      },
      "csf_gram_stain": {
       "type": "boolean",
       "description": "Positive CSF Gram stain as assigned by the caller (Nigrovic 2002). true scores 2, not 1. magent does not stain CSF."
      },
      "csf_anc_ge_1000": {
       "type": "boolean",
       "description": "CSF ANC ≥1000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils."
      },
      "csf_protein_ge_80": {
       "type": "boolean",
       "description": "CSF protein ≥80 mg/dL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not assay protein."
      },
      "peripheral_anc_ge_10000": {
       "type": "boolean",
       "description": "Peripheral ANC ≥10 000 cells/µL as assigned by the caller (Nigrovic 2002). true scores 1. magent does not count neutrophils."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/bacterial_meningitis",
  "count": 2,
  "items": [
   {
    "score": 0,
    "formula": "bacterial_meningitis",
    "citation": {
     "id": "nigrovic-2002",
     "doi": "10.1542/peds.110.4.712",
     "pmid": "12359784",
     "title": "Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era",
     "source": "Pediatrics. 2002;110(4):712-719",
     "authors": "Nigrovic LE, Kuppermann N, Malley R"
    },
    "max_score": 6,
    "components": [
     {
      "factor": "csf_gram_stain",
      "points": 0,
      "present": false
     },
     {
      "factor": "csf_anc_ge_1000",
      "points": 0,
      "present": false
     },
     {
      "factor": "csf_protein_ge_80",
      "points": 0,
      "present": false
     },
     {
      "factor": "peripheral_anc_ge_10000",
      "points": 0,
      "present": false
     },
     {
      "factor": "seizure",
      "points": 0,
      "present": false
     }
    ],
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "formula_expression": "Bacterial Meningitis Score = csf_gram_stain 2 + csf_anc_ge_1000 1 + csf_protein_ge_80 1 + peripheral_anc_ge_10000 1 + seizure 1; Nigrovic 2002; max 6; very_low_risk 0, not_low_risk ≥1",
    "bacterial_meningitis_band": "very_low_risk"
   },
   {
    "score": 0,
    "formula": "bacterial_meningitis",
    "citation": {
     "id": "nigrovic-2002",
     "doi": "10.1542/peds.110.4.712",
     "pmid": "12359784",
     "title": "Development and validation of a multivariable predictive model to distinguish bacterial from aseptic meningitis in children in the post-Haemophilus influenzae era",
     "source": "Pediatrics. 2002;110(4):712-719",
     "authors": "Nigrovic LE, Kuppermann N, Malley R"
    },
    "max_score": 6,
    "components": [
     {
      "factor": "csf_gram_stain",
      "points": 0,
      "present": false
     },
     {
      "factor": "csf_anc_ge_1000",
      "points": 0,
      "present": false
     },
     {
      "factor": "csf_protein_ge_80",
      "points": 0,
      "present": false
     },
     {
      "factor": "peripheral_anc_ge_10000",
      "points": 0,
      "present": false
     },
     {
      "factor": "seizure",
      "points": 0,
      "present": false
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nigrovic-2002-bacterial-meningitis-score-bms-calculator-5d42aeb4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
