ner-mcp-fr

v0.2.0
ner-mcp-fr Checked 4 days ago Published 1 month ago

French named-entity recognition (PER, LOC, ORG, MISC) as an MCP server, with a verification CLI

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

ner_extract

Extract named entities from French text. Args: text: French text to analyse. Texts longer than the model context are split automatically; `chunks` reports how many windows were used. labels: Subset of ["PER", "LOC", "ORG", "MISC"] to keep. Defaults to all four. min_score: Drop entities below this confidence (0..1). merge_adjacent: Merge neighbouring entities that share a label and are separated only by whitespace (e.g. "Paris 2024"). trim_punctuation: Drop sentence punctuation glued to a span ("Grand Rex." -> "Grand Rex"). Set false to get the model…

ParameterTypeDescription
text *string
labels
merge_adjacentboolean
min_scorenumber
trim_punctuationboolean

ner_extract_file

Extract named entities from a French text file, read server-side. Prefer this over ner_extract for anything long: the file content is read locally and never travels through the conversation, so it costs no tokens. `source` in the result is the resolved absolute path. Args: path: File to analyse (absolute, or relative to the server's working directory). labels: Subset of ["PER", "LOC", "ORG", "MISC"] to keep. Defaults to all four. min_score: Drop entities below this confidence (0..1). merge_adjacent: Merge neighbouring same-label entities separated by whitespace. trim_punc…

ParameterTypeDescription
path *string
encoding
labels
merge_adjacentboolean
min_scorenumber
trim_punctuationboolean

ner_batch

Extract entities from several French texts in one batched pass (max 64). A text that fails validation reports its own `error`; the rest of the batch is still processed. Results keep the input order via `index`.

ParameterTypeDescription
texts *array
labels
merge_adjacentboolean
min_scorenumber
trim_punctuationboolean

ner_info

Report the model, device, context limit and loading state without loading it.