
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
swedish-medications
Advanced tools
Swedish medication lookup skill for OpenClaw agents - FASS database integration
A medication lookup tool for Swedish pharmaceuticals (FASS database). Built as an OpenClaw skill for AI agents, but works great standalone too.
npm install -g swedish-medications
Then add to your OpenClaw skills:
# ~/.openclaw/config.yaml
skills:
- swedish-medications
npm install -g swedish-medications
fass-lookup paracetamol
npm install swedish-medications
const { lookupMedication, findMedication } = require('swedish-medications');
// Full formatted output
console.log(lookupMedication('Alvedon'));
// Just the data
const med = findMedication('ibuprofen');
console.log(med.dose); // "Adult: 200-400mg every 4-6h, max 1200mg/day (OTC)"
# By substance name
fass-lookup paracetamol
# By brand name
fass-lookup Alvedon
# Multi-word queries
fass-lookup "alvedon 500mg"
## Swedish Medication Lookup: paracetamol
### Paracetamol (Alvedon, Panodil, Pamol)
**Use:** Pain relief, fever reduction
**Dosage:** Adult: 500-1000mg every 4-6h, max 4g/day
**OTC:** Yes (receptfritt)
**ATC Code:** N02BE01
**Warnings:** Avoid with liver disease, limit alcohol
### Full Information on FASS
🔗 https://fass.se/search?query=paracetamol
---
*This is informational only. Always consult healthcare professionals for medical advice.*
This package works as an OpenClaw skill. When installed, your AI agent can:
Trigger phrases the agent recognizes:
The module exports clean functions you can wire into any agent framework:
const { lookupMedication, findMedication, COMMON_MEDICATIONS } = require('swedish-medications');
// For tool/function calling
const medicationTool = {
name: "swedish_medication_lookup",
description: "Look up Swedish medication information by name",
parameters: {
query: { type: "string", description: "Medication name (brand or substance)" }
},
execute: (params) => lookupMedication(params.query)
};
lookupMedication(query: string): stringReturns formatted markdown with medication info and FASS link.
findMedication(query: string): object | nullReturns raw medication data object or null if not found.
{
name: "paracetamol",
brands: ["Alvedon", "Panodil", "Pamol"],
use: "Pain relief, fever reduction",
dose: "Adult: 500-1000mg every 4-6h, max 4g/day",
otc: true,
warnings: "Avoid with liver disease, limit alcohol",
atc: "N02BE01"
}
getFassUrl(query: string): stringReturns the FASS.se search URL for a query.
COMMON_MEDICATIONS: objectThe raw medications database object.
The quick-lookup database includes common Swedish medications:
| Category | Examples |
|---|---|
| Pain/Fever | Paracetamol, Ibuprofen, Diclofenac |
| Allergies | Loratadin, Cetirizin |
| Stomach | Omeprazol |
| Mental Health | Sertralin |
| Diabetes | Metformin |
| Cholesterol | Atorvastatin |
| Antibiotics | Amoxicillin |
For medications not in the database, it generates a FASS search link.
npm test
Runs 26 tests covering database integrity, lookup functions, and edge cases.
This tool provides information only, not medical advice. Always:
MIT © Birger Moëll
Made with 🇸🇪 for the Swedish healthcare community
FAQs
Swedish medication lookup skill for OpenClaw agents - FASS database integration
The npm package swedish-medications receives a total of 0 weekly downloads. As such, swedish-medications popularity was classified as not popular.
We found that swedish-medications demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.