SuperAPI AI Directory

mfds-safety

Coding & development

View repository

Updated 10-15 21:03

About this skill

MFDS Medicine·Food Safety Check (Integrated)

We check safety information for medicines and foods through the Ministry of Food and Drug Safety (MFDS) official OpenAPI. It is used for health·F&B commerce product inspection, consumer safety guidance, and checking recall·nonconformity history.

This skill integrates and organizes NomaDamas k-skill's mfds-drug-safety + mfds-food-safety (MIT).

Mandatory interview first — red flag first

If symptoms·medication/ingestion circumstances are mentioned, before stating a conclusion always ask back first.

Recommended first question:

  • Who (self/child/pregnant woman/elderly), what and when and how much, foods·alcohol·medicines taken together, current symptoms, underlying conditions·allergies
  • red flag: 호흡곤란, 의식저하, 입술·혀 붓기, 심한 발진, 혈변, 심한 탈수, 심한 복통/고열, 지속되는 구토/흉통

If there is even one red flag, immediately connect to 119·emergency room·medical staff rather than API lookupis guided first.

When to use

Medicines:

  • "Is it okay to take this medicine together with this medicine?"
  • "I'm taking Tylenol, is it okay to take Pancol together?"
  • "I have hives, is it okay to keep taking this medicine?"
  • Check efficacy·precautions with official MFDS medicine information

Foods:

  • "Is it okay to eat this food?" → health functional food ingredient recognition status + inspection nonconformity
  • "Tell me the daily intake of psyllium husk" → functional ingredient recognition status
  • "I ate this gimbap and my stomach hurts, is there a recall history?" → recall·nonconformity list
  • Check new product safety in health/F&B commerce

When not to use

  • Diagnosis·prescription·medication instructions
  • Food poisoning diagnosis, final determination of permission/prohibition of ingestion
  • Emergency situations with red flags or high-risk groups (medical staff first)

Prerequisites

User-side required secret None.

  • KSKILL_PROXY_BASE_URL (optional): when self-hosting
  • Operations side: DATA_GO_KR_API_KEY (medicines + nonconformity), FOODSAFETYKOREA_API_KEY (health functional foods + recall live) — kept only on the proxy server
  • FOODSAFETYKOREA_API_KEY Issuance: https://www.foodsafetykorea.go.kr Sign up → apply for OpenAPI use. With 1 key, use all of I-0040, I-0050, I0030, I0490, I2620

Workflow

A. Medicine safety check

  1. If there are symptoms/medication circumstances, interview first.
  2. If there is even one red flag, switch immediately to emergency guidance.
  3. If the medicine name is confirmed, /v1/mfds/drug-safety/lookup query e-Yak-eun-yo·over-the-counter safety medicines with.
  4. Briefly organize efficacy·usage·precautions·interactions·adverse reactions·storage method.
  5. For "Is it okay to take together?", only official interaction wording is the basis. Final judgment is by a pharmacist·medical staff.

B. Food safety check

  1. If there are symptoms/ingestion circumstances, interview first.
  2. red flag → Immediate Emergency Guidance.
  3. "Can I eat this?" flow:
    • /v1/mfds/food-safety/product-report → Health Functional Food Item Manufacturing Report Details (raw materials, functionality, intake precautions, standards/specifications, including notified-type ingredients)
    • /v1/mfds/food-safety/health-food-ingredient → Functional Ingredient Recognition Status (individually recognized type daily intake, precautions)
    • /v1/mfds/food-safety/inspection-fail → Domestic Inspection Non-Compliance History
    • /v1/mfds/food-safety/search → Recall/Non-Compliance Public List
  4. Briefly summarize product name, company name, functionality, intake amount, precautions, and reason for non-compliance. Does not determine whether it is safe to eat.
  5. If the proxy FOODSAFETYKOREA_API_KEY operates without it, confirm via warnings that results may be based on the sample feed.

Endpoints

Category Endpoint
Drug Integration GET /v1/mfds/drug-safety/lookup
Food Recall/Non-Compliance GET /v1/mfds/food-safety/search
Health Functional Food Ingredients GET /v1/mfds/food-safety/health-food-ingredient
Health Functional Food Item Manufacturing GET /v1/mfds/food-safety/product-report
Inspection Non-Compliance GET /v1/mfds/food-safety/inspection-fail

Official surfaces

  • e-Drug Information: https://apis.data.go.kr/1471000/DrbEasyDrugInfoService/getDrbEasyDrugList
  • Safety OTC Drugs: https://apis.data.go.kr/1471000/SafeStadDrugService/getSafeStadDrugInq
  • Food Safety Korea (I-0040/I-0050/I0030/I0490/I2620): https://www.foodsafetykorea.go.kr/api/openApiInfo.do
  • Non-Compliant Foods: https://apis.data.go.kr/1471000/PrsecImproptFoodInfoService03/getPrsecImproptFoodList01

Response policy

  • This skill diagnosis, prescription, or dosing instructions.
  • Summarizes only based on efficacy, precautions, interactions, and functional claims found in official documents.
  • If interaction wording is ambiguous or there are red flags, refers to a pharmacist or physician consultation.
  • For questions with symptoms, does not answer immediately without an interview.
  • If recall/non-compliance results are from the sample feed, states that fact.

Related Skill Chaining

  • before: moai-commerce:commerce-integrated-strategy — Safety review during health/F&B new product planning
  • after: moai-commerce:detail-page-copy — Detail page copy reflecting safety information
  • after: moai-content:product-detail — Writing safety guidance content

Done when

  • First asked back about symptoms or medication/intake situation.
  • Checked whether there are red flags.
  • Organized official endpoint query results into JSON via the proxy route.
  • Provided drug: product name, company name, efficacy, precautions, interactions summary / food: product name, company name, functionality, intake amount, precautions, and reason for non-compliance summary.