ner-mcp-fr
v0.2.0French 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…
| Parameter | Type | Description |
|---|---|---|
text * | string | |
labels | ||
merge_adjacent | boolean | |
min_score | number | |
trim_punctuation | boolean |
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…
| Parameter | Type | Description |
|---|---|---|
path * | string | |
encoding | ||
labels | ||
merge_adjacent | boolean | |
min_score | number | |
trim_punctuation | boolean |
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`.
| Parameter | Type | Description |
|---|---|---|
texts * | array | |
labels | ||
merge_adjacent | boolean | |
min_score | number | |
trim_punctuation | boolean |
ner_info
Report the model, device, context limit and loading state without loading it.