Tatoeba Sentences and Audio MCP Server
# Tatoeba Sentences and Audio MCP Server
[](https://www.npmjs.com/package/@mambalabsdev/mcp-tatoeba-sentences) [](https://github.com/mambalabsdev/mcp-tatoeba-sentences/blob/main/LICENSE)
An MCP server for the Mamba Labs Tatoeba Sentences and Audio actor on Apify. Tatoeba example sentences with translations, audio, and license.
## What's Inside
- [What it does](#what-it-does)
- [Quick start](#quick-start)
- [Prerequisites](#prerequisites)
- [Example prompts](#example-prompts)
- [Tool](#tool)
- [Inputs](#inputs)
- [Pricing](#pricing)
- [Full actor documentation](#full-actor-documentation)
- [License](#license)
## What it does
Give sentence languages, keywords, and translation languages. The actor runs Tatoeba's official sentence search and returns one row per sentence: the text, its translations, native speaker audio links, transcriptions, and the license and author of each, ready for attribution. Each language and keyword pair is one search. Recordings with no license or a non-commercial license are left out unless you ask for them.
All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.
## Quick start
You need Node.js 18 or newer and an Apify account with an API token.
Add this to your Claude Desktop config (`claude_desktop_config.json`), Cursor, or any MCP client:
```json
{
"mcpServers": {
"mamba-tatoeba-sentences": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-tatoeba-sentences"
],
"env": {
"APIFY_TOKEN": "your-apify-token"
}
}
}
}
```
Restart the client. The `search_tatoeba_sentences` tool appears.
## Prerequisites
- Node.js 18 or newer.
- An Apify API token from [console.apify.com/account/integrations](https://console.apify.com/account/integrations), set as `APIFY_TOKEN`. The server lists its tool without a token; a call needs one.
## Example prompts
- "Find 50 English sentences with coffee that have Spanish translations."
- "List Japanese sentences with native audio and English translations about cats."
- "Get short German sentences of 3 to 6 words with audio for flashcards."
## Tool
`search_tatoeba_sentences`. One tool. Example arguments:
```json
{
"languages": [
"eng"
],
"keywords": [
"coffee"
],
"translation_languages": [
"spa"
],
"max_sentences_per_search": 20
}
```
## Inputs
Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.
| Input | Type | Required | Description |
|---|---|---|---|
| `languages` | array | no | ISO 639-3 codes of the languages to search, for example eng, spa, jpn, cmn, deu, fra. Each language is searched on its own. In Clay, put the column inside a one item list. |
| `keywords` | array | no | Words or phrases the sentence must contain, for example coffee or how are you. Each keyword is one search in each language. One keyword per line. Leave empty to list sentences on the filters alone. |
| `match` | string | no | exact (default) matches each word in the exact form you typed, so casa does not also match cas or casas. stemmed uses Tatoeba's own word stemming, which also finds plurals and other forms, and sometimes unrelated words. phrase matches the words together in that order. A keyword that already holds search operators (quotes, =, /, -) is sent as written. |
| `translation_languages` | array | no | Optional. ISO 639-3 codes, for example spa or jpn. Only sentences with a translation in one of these languages are returned, and those translations come in the row. Leave empty for sentences without translations. |
| `has_audio` | string | no | any (default) returns sentences with or without a recording. yes returns only sentences with at least one native speaker recording. no returns only sentences without one. |
| `sort` | string | no | relevance (default; exact matches first, then shorter sentences; with no keyword, newest first), words (shortest first), -words (longest first), created (newest first), -created (oldest first), modified, -modified, or random. |
| `min_words` | number | no | Only sentences with at least this many words. For languages written without spaces, such as Japanese or Chinese, Tatoeba counts characters. |
| `max_words` | number | no | Only sentences with at most this many words (characters for languages written without spaces). |
| `tags` | array | no | Optional. Only sentences with one of these Tatoeba tags, for example OK, idiom, or proverb. |
| `native_speakers_only` | boolean | no | no (default) returns every sentence. yes returns only sentences added by a self-identified native speaker. |
| `include_unapproved` | boolean | no | no (default) leaves out sentences Tatoeba marks as unapproved (likely wrong). yes keeps them. |
| `include_restricted_audio` | boolean | no | no (default) keeps only recordings with a stated license and no non-commercial (NC) condition. It leaves out NC recordings, which Tatoeba says must not be marketed, and recordings with no license, which Tatoeba says may be cleared for use on its own site only. yes keeps every recording with its license field; you then follow each license yourself. Sentence text is always returned. |
| `max_sentences_per_search` | number | no | Stop each language and keyword search after this many sentence rows. Default 100, at most 10,000. |
| `max_charge_usd` | string | no | Stop the run before its charges pass this amount in USD. Empty for no cap beyond the one set in Apify. |
## Pricing
Pay per event on Apify, billed to your Apify account. Prices in USD.
| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| `sentence-row`, one sentence | $0.014 | $0.0133 | $0.0126 | $0.0119 |
| `apify-actor-start`, per run start | $0.004 | $0.004 | $0.004 | $0.004 |
Searches with no match, repeats across searches, a refused search, API errors, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.
## Full actor documentation
[apify.com/mambalabs/tatoeba-sentences](https://apify.com/mambalabs/tatoeba-sentences)
## License
MIT. See [LICENSE](LICENSE).
TDQS
Scored across 1 tool
There is only one tool, so there is no risk of an agent confusing it with another operation. Its purpose (search Tatoeba sentences by language and keyword, returning translations and audio) is stated explicitly and unambiguously.
The name search_tatoeba_sentences follows a clear verb_noun pattern with a descriptive domain prefix, and it matches the tool's described action. With a single tool there are no deviating names to create inconsistency.
One tool is a thin surface for a data-serving API; users may reasonably want separate retrieval by sentence ID, language listing, or audio-only search. The single tool is broad enough to earn its place, but the set feels borderline minimal.
The search tool covers discovery of sentences and audio, but there are notable gaps: no lookup by sentence ID, no way to enumerate supported/available languages, and no audio-specific query. Agents can still accomplish the core use case but will hit dead ends for direct-record or metadata operations.