iapp-mcp

v2.2.0
iapp-mcp Checked 5 days ago Published 26 days ago

MCP server for iApp AI Marketplace APIs (https://iapp.co.th) — Thai OCR, eKYC, NLP, LLM, Speech, Image/Video Generation

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

iapp_thai_id_card_ocr

Extract structured data from a Thai national ID card image (front or back). Front side returns ID number, Thai/English name, date of birth, address, religion, issue/expiry dates, gender and per-field confidence scores. Back side returns the laser code (back_number). Args: file_path: Local path to the card image (JPEG/PNG/HEIC/PDF, max 10MB). side: Which side of the card the image shows ('front' or 'back'). options: Optional comma-separated flags: not_crop_card, not_rotate_card, get_bbox, get_image, get_original. Returns: JSON s…

ParameterTypeDescription
file_path *string
options
sidestring

iapp_thai_id_card_photocopy_ocr

Extract data from a photographed/photocopied Thai national ID card, including signature detection. Use this for photocopies of ID cards (common in Thai KYC paperwork) instead of iapp_thai_id_card_ocr, which expects the physical card. Args: file_path: Local path to the photocopied card image (JPEG/PNG/HEIC, max 2MB, min 600x400 px). Returns: JSON string with national_id, names (TH/EN), date of birth/expiry, address fields, signature detection reason codes, and confidence scores. Cost: 1.25 IC.

ParameterTypeDescription
file_path *string

iapp_passport_ocr

Extract MRZ and personal data from a passport image (any country). Args: file_path: Local path to the passport image (JPEG/PNG/PDF, max 10MB). segmentation: Set True to handle skewed/angled photos. Returns: JSON string with passport number, names, nationality, dates, MRZ checksum validity flags and raw MRZ text. Cost: 0.75 IC per page.

ParameterTypeDescription
file_path *string
segmentationboolean

iapp_thai_driver_license_ocr

Extract structured data from a Thai driver license card image. Args: file_path: Local path to the license image (JPEG/PNG, max 10MB). Returns: JSON string with license number, Thai/English name, date of birth, license type, issue/expiry dates. Cost: 1.25 IC.

ParameterTypeDescription
file_path *string

iapp_book_bank_ocr

Extract account details from a Thai bank book (passbook) cover image. Args: file_path: Local path to the bank book image (JPEG/PNG). Returns: JSON string with bank name, account number, account name, branch and signature detection. Cost: 1.25 IC.

ParameterTypeDescription
file_path *string

iapp_face_verification

Compare two face images and check whether they are the same person (1:1 verification). Args: image1_path: Local path to the first face image (JPG/PNG/HEIC, max 2MB, min 600x400). image2_path: Local path to the second face image (same constraints). threshold: Match threshold. Default 36; use 48 for high precision. Returns: JSON string with matched (boolean), score, threshold and duration. Cost: 0.3 IC.

ParameterTypeDescription
image1_path *string
image2_path *string
threshold

iapp_face_detection

Detect face(s) in an image and return bounding boxes and detection scores. Args: file_path: Local path to the image (JPEG/PNG, max 10MB). mode: 'single' expects exactly one face; 'multi' detects all faces. Returns: JSON string with bbox coordinates, detection_score and cropped face (base64, truncated in output). Cost: 0.2-0.3 IC.

ParameterTypeDescription
file_path *string
modestring

iapp_face_liveness

Check whether a face photo is of a real live person or a spoof (screen/printout). iBeta Level 1 certified passive liveness detection — no user gestures required. Args: file_path: Local path to the face image (JPEG/PNG, max 10MB). Returns: JSON string with predict ('REAL' or 'SPOOF'), score (0-1) and darkness metric. Cost: 0.3 IC.

ParameterTypeDescription
file_path *string

iapp_face_id_card_kyc

Verify that a selfie matches the face photo on a Thai national ID card (full KYC check). Args: id_card_path: Local path to the ID card image (JPG/PNG, min 600x400, max 10MB). selfie_path: Local path to the selfie image (same constraints). Returns: JSON string with per-image and total confidence plus isSamePerson verdicts. Cost: 1 IC.

ParameterTypeDescription
id_card_path *string
selfie_path *string

iapp_face_recognition

Search, enroll or manage faces in a company face database (1:N recognition). Actions: - recognize_single: identify one face in the image (requires file_path) - recognize_multi: identify all faces in the image (requires file_path) - add: enroll a face (requires file_path, name, password) — modifies the database - remove: delete an enrolled face (requires name, password; optional face_id) — destructive - check: list enrolled faces (requires password) Args: action: Operation to perform. company: Company namespace of the face da…

ParameterTypeDescription
action *string
company *string
face_id
file_path
name
password

iapp_image_generation

Generate an image from a text prompt using Google Nano Banana via iApp and save it locally. Args: prompt: Text prompt describing the image (max 32,000 chars). output_path: Local path to save the generated image (.png). model: 'nanobanana' (Gemini 2.5 Flash Image, 3 IC) or 'nanobanana-pro' (Gemini 3 Pro Image, 8 IC). Returns: Confirmation message with the saved image path, plus any text the model returned. Latency 5-30 seconds.

ParameterTypeDescription
output_path *string
prompt *string
modelstring

iapp_slide_generation

Generate a finished presentation slide as an image and save it locally. Renders the headline, body points and any chart or diagram together on one slide. Built on Nano Banana Pro so text and figures stay legible. Call once per slide to build a deck, keeping `style` identical across calls so the deck reads as one set. For a plain picture with no slide framing, use iapp_image_generation instead. Args: title: Slide headline, kept short — rendered large at the top. content: What the slide should say or show — bullet points one per line, a c…

ParameterTypeDescription
content *string
output_path *string
title *string
aspect_ratiostring
style

iapp_remove_background

Remove the background from an image and save the result locally. Args: file_path: Local path to the input image (PNG/JPEG, max 2MB). output_path: Local path to save the background-removed image. Returns: Confirmation message with the saved image path. Cost: 1 IC.

ParameterTypeDescription
file_path *string
output_path *string

iapp_thai_image_generation

Generate an image whose Thai text is rendered exactly as written, and save it locally. For posters, signs, greeting cards, product labels and slides with Thai lettering in 19 Thai typefaces. Two sentences of prompt give a designed picture; five words a plain one. Args: prompt: The scene, in Thai or English, up to 1,500 characters. Say where the text sits, the setting, the light and the style. Text in double quotes is rendered too. output_path: Local path to save the image (.png). text: The text that must appear: a string with line breaks or a l…

ParameterTypeDescription
output_path *string
prompt *string
fontstring
seed
sizestring
style
text

iapp_image_upscale

Enlarge an image 2x or 4x with reconstructed detail instead of blur, and save it locally. Args: file_path: Local path to the image: JPEG, PNG or WebP, up to 10 MB. At 4x the input may be up to 1024x1024; at 2x up to 2048x2048 (output at most 4096x4096). output_path: Local path to save the result (extension matching output_format). scale: 4 (default) or 2. model: 'photo' (default) for photographs, 'anime' for illustrations and flat artwork, 'fast' when throughput matters more than detail. output_format: 'png' (default, lossles…

ParameterTypeDescription
file_path *string
output_path *string
modelstring
output_formatstring
quality
scaleinteger

iapp_video_generation_submit

Submit an async video generation job (Seedance). Poll with iapp_video_generation_status. Args: prompt: Text description of the video to generate. model: 'seedance-2.5' (newest — best motion, clips to 30s, takes reference image/video/audio, 720p max), 'seedance' (Seedance 2.0, the only one that does 1080p), or 'seedance-fast' (cheapest, 720p max). duration: Video length in seconds. 4-30 on Seedance 2.5, 4-15 on 2.0. ratio: Aspect ratio. resolution: Output resolution ('1080p' only on 'seedance'). generate_audio: Wheth…

ParameterTypeDescription
prompt *string
durationinteger
first_frame_image_url
generate_audioboolean
modelstring
ratiostring
reference_image_url
resolutionstring
watermarkboolean

iapp_video_generation_status

Check the status of a Seedance video generation job and get the video URL when done. Poll every ~5 seconds. Terminal states: succeeded, failed, cancelled, expired. Args: task_id: Task id returned by iapp_video_generation_submit. Returns: JSON string with status and, when succeeded, the video download URL (URL expires ~24 hours after generation).

ParameterTypeDescription
task_id *string

iapp_thai_law_list

List every Thai statute available in the iApp legal corpus. Call this first: iapp_thai_law_section needs the law name to match character-for-character, and this returns the exact strings to use. Args: q: Optional substring filter on the law name. Returns: JSON string with law names and section counts. Cost: FREE (0 IC).

ParameterTypeDescription
q

iapp_thai_law_section

Fetch the exact current text of one Thai statute section (มาตรา). Deterministic lookup, no model involved — use this when you already know the section number and need its verbatim wording. Args: law: Exact law name, e.g. 'ประมวลกฎหมายอาญา'. Get valid values from iapp_thai_law_list. section: Section number as a string, e.g. '335' or '112/1'. with_deka: Also return Supreme Court decisions that cite this section. Returns: JSON string with the verbatim section text, and when with_deka is true the…

ParameterTypeDescription
law *string
section *string
with_dekaboolean

iapp_thai_deka_get

Fetch one Thai Supreme Court decision by its ฎีกา number. Args: case_id: ฎีกา number, '1234/2565' or '1234-2565'. Both forms accepted. include_body: Also return the ruling text (capped at 4,000 characters). Returns: JSON string with the headnote, cited laws and sections, source provenance and the official court URL. Cost: 0.1 IC.

ParameterTypeDescription
case_id *string
include_bodyboolean

iapp_llm_chat

Chat with LLMs hosted on the iApp AI Marketplace (OpenAI-compatible). Available models: - deepseek-reasoner: DeepSeek-V3.2 thinking model, 128K context - deepseek-chat: DeepSeek-V3.2 non-thinking, faster - deepseek-v4-flash: DeepSeek V4 Flash: chat, RAG, classification - deepseek-v4-pro: DeepSeek V4 Pro: deep reasoning, agents, math, coding - openthai2.0: OpenThai 2.0, iApp's open 27B Thai vision-language model. Reads Thai documents and handwriting from an image (`image_path`); reasons before it answers unless `thinking` is False…

ParameterTypeDescription
prompt *string
image_path
max_tokens
messages
modelstring
system_prompt
temperature
thinking

iapp_openthai_systemone

Answer typed questions about Thai or English text with calibrated probabilities. OpenThai SystemOne (open 0.8B decision model) answers every question in one forward pass and generates no text: routing a ticket, scoring frustration, yes/no checks, triage. Each answer carries a probability per option and a confidence; send low-confidence answers to a larger model or a person. Args: state: What to decide about: text, or any JSON object (a ticket, a comment, a document, a UI accessibility tree). At most 64K tokens per request. questions: Names of y…

ParameterTypeDescription
questions *object
state *
order_invariant
permutations

iapp_translate

Translate text. Thai-English in either direction uses Chinda MT, which follows your rules. Thai <-> English goes to Chinda MT: up to 100,000 characters per call, about 0.4 s a sentence, and it follows `rules` for terms, tone, length and format. Every other pair uses the multilingual model over 28 languages: ar, bn, cs, de, en, es, fa, fr, he, hi, id, it, ja, km, ko, lo, ms, my, nl, pl, pt, ru, th, tl, tr, ur, vi, zh. Args: text: Text to translate. It may span several lines. source_lang: Source language code (e.g. 'th', 'en', 'zh'). target_lang: Tar…

ParameterTypeDescription
source_lang *string
target_lang *string
text *string
max_length
rules

iapp_summarize

Summarize Thai or English text. Args: text: Text to summarize. style: 'standard' (formal with intro/conclusion), 'clarify' (notes unresolved points), or 'friendly' (simple language). language: Output language ('th' or 'en'). max_output_tokens: Optional output token limit (default 8192). Returns: JSON string with the summary. Cost: 1 IC per 400 chars.

ParameterTypeDescription
text *string
languagestring
max_output_tokens
stylestring

iapp_sentiment_analysis

Classify the sentiment of Thai text as positive, neutral, or negative. Args: text: Thai text to analyze. Returns: JSON string with label ('pos'/'neu'/'neg') and confidence score (0-1). Cost: 1 IC per 400 chars.

ParameterTypeDescription
text *string

iapp_toxicity_classification

Classify whether Thai text is toxic or non-toxic. Args: text: Thai text to classify. Returns: JSON string with label ('toxic'/'non_toxic') and confidence score (0-1). Cost: 1 IC per 400 chars.

ParameterTypeDescription
text *string

iapp_thai_qa

Answer a Thai question using a provided Thai document as context (extractive QA). Args: question: Question in Thai. document: Thai text passage to extract the answer from. Returns: JSON string with the answer. Cost: 1 IC per 400 chars.

ParameterTypeDescription
document *string
question *string

iapp_question_generation

Generate question-answer pairs from Thai text (useful for quizzes and study material). Args: text: Thai text to generate questions from. Returns: JSON string with a list of {question, answer} pairs. Cost: 1 IC per 400 chars.

ParameterTypeDescription
text *string

iapp_document_ocr

Read any Thai (or mixed Thai/English) document into text, layout JSON, or an Office/PDF file. Accepts images (PNG, JPEG, HEIC, GIF) and PDF up to 30 MB. The plain-text mode also reads Word, Excel and PowerPoint files (DOCX, XLSX, PPTX; not the older DOC/XLS/PPT). Args: file_path: Local path to the document file. mode: 'text' returns plain text, one string per page; 'layout' returns every component with its text, bounding box and type; 'docx', 'pptx', 'xlsx' return a signed link to a generated Word, PowerPoint or Excel file, and 'searchableP…

ParameterTypeDescription
file_path *string
modestring

iapp_receipt_ocr

Extract structured data from a Thai receipt / tax invoice image or PDF. Args: file_path: Local path to the receipt (JPEG/PNG/PDF, max 10MB). return_ocr: Set True to also include the raw OCR text. Returns: JSON string with invoice info, issuer/customer details, line items, totals, VAT and per-field confidence. Cost: 1 IC per page.

ParameterTypeDescription
file_path *string
return_ocrboolean

iapp_credit_card_statement_ocr

Extract structured data from a Thai credit card statement (image or PDF up to 10 pages). Args: file_path: Local path to the statement (JPEG/PNG/HEIC/PDF, max 10MB). return_ocr: Set True to also include the raw OCR text. Returns: JSON string with card/bank details, balances, due dates, transactions list, reward points and confidence scores. Cost: 1 IC per page.

ParameterTypeDescription
file_path *string
return_ocrboolean

iapp_tax_deduction_certificate_ocr

Extract data from a Thai withholding tax deduction certificate (50 ทวิ). Processing takes ~25-30 seconds. Args: file_path: Local path to the certificate (JPEG/PNG/HEIC/PDF, max 10MB). return_ocr: Set True to also include the raw OCR text. Returns: JSON string with deductor/taxpayer info, payment types, total amounts and taxes. Cost: 1 IC per page.

ParameterTypeDescription
file_path *string
return_ocrboolean

iapp_civil_registration_ocr

Extract data from a Thai civil registration certificate (ทะเบียนราษฎร). Args: file_path: Local path to the certificate (JPEG/PNG/PDF single page, max 10MB). return_ocr: Set True to also include the raw OCR text. Returns: JSON string with national ID, names, parents, address, registration office and confidence scores. Cost: 1 IC per page.

ParameterTypeDescription
file_path *string
return_ocrboolean

iapp_resume_ocr

Extract structured information from a resume/CV and get an AI evaluation. Args: file_path: Local path to the resume (PDF/JPG/PNG). Returns: JSON string with personal info, education, work experience, skills, plus an AI evaluation: scores, ATS compatibility, strengths/weaknesses, improvement suggestions. Cost: 1 IC per page.

ParameterTypeDescription
file_path *string

iapp_job_description_ocr

Extract structured information from a job description document. Args: file_path: Local path to the job description (PDF/JPG/PNG). Returns: JSON string with job title, company, location, salary range, responsibilities, qualifications and AI-suggested skills. Cost: 1 IC per page.

ParameterTypeDescription
file_path *string

iapp_license_plate_ocr

Read a Thai vehicle license plate from an image, including vehicle attributes. Args: file_path: Local path to the vehicle image (JPEG/PNG, max 2MB). Returns: JSON string with plate number, province, vehicle brand/model/color/body type, orientation and confidence. Cost: 0.25 IC, or included in a monthly Gate plan.

ParameterTypeDescription
file_path *string

iapp_meter_ocr

Read the digits from a power meter or water meter photo. Args: file_path: Local path to the meter photo (JPEG/PNG). Returns: JSON string with the meter reading (label field). Cost: 1 IC.

ParameterTypeDescription
file_path *string

iapp_route_optimization

Optimize delivery routes for one or more drivers from an origin to up to 100 stops. Args: origin_address: Starting point address. origin_latitude: Starting point latitude. origin_longitude: Starting point longitude. stops: Delivery stops (max 100). Addresses are geocoded automatically if latitude/longitude are omitted. driver_count: Number of drivers, or -1 to auto-optimize. Returns: JSON string with optimized job assignments, route order, number of drops and total distance in km. Cost: 1 IC.

ParameterTypeDescription
origin_address *string
origin_latitude *number
origin_longitude *number
stops *array
driver_countinteger

iapp_thai_holidays

Get Thai public and financial holidays. Three query modes (in priority order): 1. year: all holidays in a calendar year (2020-2030) 2. start_date + end_date: holidays in a date range (YYYY-MM-DD) 3. days_before/days_after: holidays relative to today (default: next 365 days) Args: year: Calendar year (2020-2030). start_date: Range start date (YYYY-MM-DD), requires end_date. end_date: Range end date (YYYY-MM-DD), requires start_date. days_before: Days before today to include (max 1825). days_after: Days after today to incl…

ParameterTypeDescription
days_afterinteger
days_beforeinteger
end_date
holiday_typestring
start_date
year

iapp_speech_to_text

Transcribe an audio or video file into timestamped segments, each labelled with its speaker. Chinda ASR Pro v2 (the default) takes up to 8 hours of audio and 250 MB per request (WAV, FLAC, OGG/Opus, MP3, M4A/AAC, WebM, or a video with an audio track). Thai is written in Thai script with numbers as words; English and Chinese in their own script with punctuation. Long recordings take about one eighth of their length. Args: file_path: Local path to the audio or video file. language: 'th' (Thai, default), 'en' (English) or 'zh' (Chinese). quality: 'pro…

ParameterTypeDescription
file_path *string
chunk_size
languagestring
qualitystring
speaker_labelsboolean
vocabulary

iapp_text_to_speech

Speak Thai (or Thai mixed with English) text with Chinda TTS and save the audio locally. Three ready voices and a library of ten more, from a child to a grandparent, each in eight speaking styles. The text is read as written: write ค่ะ/คะ for a woman's voice and ครับ for a man's. Args: text: Text to speak, up to 1,200 characters (1,000 for library voices), about 100 seconds of audio. Split longer text at the end of a sentence. output_path: Local path to save the audio (.wav or .mp3, matching `format`). voice: 'kaitom' (def…

ParameterTypeDescription
output_path *string
text *string
formatstring
stylestring
voicestringReady voices: 'kaitom' (man, any use, default), 'kaimook' (woman, bright and friendly), 'kaidang' (man, announcements). Library voices by age and sex: child-f (girl ~8), child-m (boy ~7), teen-f, teen…

iapp_voice_clone_tts

Speak text in a voice cloned from a short clip, with Chinda TTS. Args: text: Text to speak, up to 1,000 characters. ref_audio_path: Local path to 10 to 20 seconds of clean speech by one speaker (WAV or MP3, up to 20 MB). A shorter or noisy clip is refused. output_path: Local path to save the audio (.wav or .mp3, matching `format`). consent: Must be True: confirms the voice is the user's own or its speaker has agreed to it being cloned. Ask the user before setting it. style: neutral (default), friendly, cheerful, calm, serious…

ParameterTypeDescription
consent *boolean
output_path *string
ref_audio_path *string
text *string
denoiseboolean
formatstring
stylestring

iapp_ai_audio_detection

Detect whether an audio file was generated by iApp TTS (AI watermark detection). Args: audio_path: Local path to the audio file (WAV any sample rate, or raw PCM 24kHz mono int16). Returns: JSON string with is_ai_generated (boolean) and confidence (0-1). Free.

ParameterTypeDescription
audio_path *string