npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mymedi-ai/sdk

v1.2.0

Published

JavaScript/TypeScript SDK for MyMedi-AI healthcare APIs — medical coding, drug intelligence, reimbursement, clinical trials, physician payments, disease surveillance, prior auth, NER, claims, compliance. Zero dependencies.

Readme

@mymedi-ai/sdk

JavaScript/TypeScript SDK for MyMedi-AI healthcare APIs. Zero dependencies.

Install

npm install @mymedi-ai/sdk

Quick Start

import { MyMediAI } from '@mymedi-ai/sdk';

const client = new MyMediAI({ apiKey: 'your-api-key' });

// Look up a medical code
const code = await client.codeLookup('M79.3');
console.log(code);

// Get AI code suggestions from clinical description
const suggestions = await client.codeSuggest('chronic lower back pain');

// Predict prior auth approval
const prediction = await client.paPredict('E0601', {
  diagnosisCodes: ['G47.33'],
  payerId: 'BCBS',
});

// Extract medical entities from text
const entities = await client.nerExtract(
  'Patient presents with Type 2 diabetes mellitus and hypertension. Prescribed Metformin 500mg.'
);

// Validate a claim before submission
const validation = await client.claimsValidate({
  patientId: 'P001',
  providerId: 'NPI1234567890',
  dateOfService: '2026-04-12',
  diagnosisCodes: ['M79.3'],
  procedureCodes: ['99213'],
});

Get an API Key

curl -X POST https://mymedi-ai.com/bot-marketplace/register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent", "description": "My healthcare agent"}'

You get 100 free starter credits. Purchase more at mymedi-ai.com/bot-marketplace/credits/pricing.

API Reference

Constructor

const client = new MyMediAI({
  apiKey: 'your-api-key',          // Required
  baseUrl: 'https://mymedi-ai.com', // Optional
  agentId: 'my-agent',              // Optional, for tracking
});

Medical Coding

| Method | Description | Price | |--------|-------------|-------| | codeLookup(code, codeType?) | Look up ICD-10, CPT, HCPCS codes | $0.001 | | codeSuggest(description, opts?) | AI code suggestions from text | $0.01 | | codeValidate(code, opts?) | Validate code correctness | $0.005 |

Prior Authorization

| Method | Description | Price | |--------|-------------|-------| | paPredict(procedureCode, opts?) | Approval probability (0-1) | $0.05 | | paStatus(opts) | Check auth status | $0.02 |

NLP

| Method | Description | Price | |--------|-------------|-------| | nerExtract(text, entityTypes?) | Extract medical entities | $0.02 |

Claims

| Method | Description | Price | |--------|-------------|-------| | claimsValidate(claim) | Pre-submission validation | $0.05 |

Compliance

| Method | Description | Price | |--------|-------------|-------| | complianceAudit(data, auditType?) | HIPAA compliance audit | $0.25 |

Providers

| Method | Description | Price | |--------|-------------|-------| | providerSearch(opts?) | Search NPI directory | $0.005 | | providerEnrich(npi) | AI provider intelligence | $0.05 |

Drugs

| Method | Description | Price | |--------|-------------|-------| | drugEnrich(drugName, searchField?) | Drug info via OpenFDA | $0.03 |

Market

| Method | Description | Price | |--------|-------------|-------| | marketAnalysis(state, specialty) | Market analysis by state | $0.10 |

Error Handling

import { MyMediAI, MyMediAIError } from '@mymedi-ai/sdk';

try {
  const result = await client.codeLookup('INVALID');
} catch (err) {
  if (err instanceof MyMediAIError) {
    console.log(err.status);  // HTTP status code
    console.log(err.message); // Error message
    console.log(err.data);    // Full error response
  }
}

Billing

Every response includes a _billing object:

const result = await client.codeLookup('M79.3');
console.log(result._billing);
// { creditsSpent: 1, creditsRemaining: 99 }

MCP Server

For AI agent integration (Claude Desktop, Cursor, VS Code), use the MCP server:

npx @mymedi-ai/mcp-server

See @mymedi-ai/mcp-server for setup.

License

MIT