# LibreTranslate API MCP for AI Agents AI Agent Connect

> LibreTranslate API gives your AI agent the ability to translate text, detect languages, and audit linguistic data across dozens of global markets. It connects your agent directly to an open-source translation engine, removing the need to manually copy-paste text into different web portals. You get real-time language detection confidence and metadata for all your localized content.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_LKLkG0jnlBPP6OA9EEXveB6egYx09rPDRlOqEA3a/ai-agent-connect
- **Tags:** machine-translation, language-detection, open-source, api-integration, text-processing

## Description

This translation and language detection MCP lets you handle your entire localization and language auditing workflow through a natural conversation with your AI agent. Instead of jumping between different websites to check how a phrase sounds in Spanish or if a block of text is actually in French, you can just ask your agent to handle it. It turns your AI into a linguistic researcher that knows how to pull data from the translation engine. You can have your agent scan a massive document to find out which languages are being used, or ask it to provide the exact language codes for a global project. It handles the heavy lifting of checking if a translation service is up and running so you don't have to check status pages. By adding this to your toolkit via Vinkius, you move from manual copy-pasting to a conversational workflow where you just describe the goal and the agent executes the translation or audit. It's built for people who need to manage high volumes of multilingual content without the friction of manual entry.

## Tools

### check_api_status
See if the LibreTranslate service is online. This lets you confirm the connection is active before starting a big job.

### detect_language
Identify what language a piece of text is written in. Use this to sort through messy datasets or identify unknown content.

### list_supported_languages
Get a full list of every language the instance supports. This is perfect for checking if a specific dialect is available.

### translate_text
Convert text from one language to another. Use this to get instant translations for your project.

## Prompt Examples

**Prompt:** 
```
Can you check if the translation service is currently online?
```

**Response:** 
```
I've checked the status for you. The LibreTranslate service is currently operational and ready for your requests.
```

**Prompt:** 
```
Tell me what languages are supported by this system.
```

**Response:** 
```
Here are the languages available in your current instance:

| Language | Code |
| --- | --- |
| English | en |
| Spanish | es |
| French | fr |

I can help you translate into any of these.
```

**Prompt:** 
```
Translate 'Where is the nearest train station?' into Japanese.
```

**Response:** 
```
I've translated that for you! In Japanese, it's: **最寄りの駅はどこですか？**

Would you like to see the language code for this as well?
```

## Capabilities

### Translate text between languages
Convert your content into different languages instantly.

### Identify text language
Find out what language a specific string is written in.

### Browse supported languages
See every language available in your translation catalog.

### Retrieve language codes
Get specific language names and codes for your archives.

### Check service status
Verify if the translation engine is online and ready.

## Use Cases

### Bulk language identification
A content manager needs to find out which of 500 documents are in Spanish. They ask the agent to run `detect_language` on the entire batch.

### Verifying regional support
A developer wants to know if the API supports Vietnamese. They ask the agent to use `list_supported_languages` to verify.

### Quick tagline translation
A writer wants a quick Portuguese version of a tagline. They ask the agent to use `translate_text` for an instant result.

### Connection monitoring
An ops lead needs to know if the translation service is down. They ask the agent to use `check_api_status` to verify the connection.

## Benefits

- Stop manual copy-pasting by using `translate_text` to convert large batches of content directly within your chat.
- Gain immediate clarity on content origins by using `detect_language` to find out what language a string uses instantly.
- Save time on research by using `list_supported_languages` to see every available dialect and language code at once.
- Ensure your workflow stays active by using `check_api_status` to verify the service is running before you start a task.
- Get precise data for your archives by retrieving unique language names and codes for every supported region.

## How It Works

The bottom line is you get a direct line to open-source translation data without leaving your chat interface.

1. Connect the LibreTranslate MCP to your AI client through the Vinkius platform.
2. Provide your API key or the URL for your custom instance in the configuration settings.
3. Ask your agent to perform translations, detect languages, or list supported markers.

## Frequently Asked Questions

**What can I do with the LibreTranslate API MCP?**
You can use it to translate text, detect what language a string is written in, and browse the list of supported languages. It turns your AI into a language processing hub.

**Does LibreTranslate API support my custom translation instance?**
Yes, you can connect your own custom instance URL and API key. This lets you use your own private setup with your AI agent.

**How does LibreTranslate API help with localization?**
It automates the tedious parts of localization. Your agent can audit language detection, retrieve language codes, and perform batch translations.

**Can I use LibreTranslate API to detect the language of a long document?**
You can use it to detect the language of specific strings. For long documents, your agent can process the text in sections to identify the primary language.

**Is this the best way to translate text with an AI agent?**
It's the best way to access the LibreTranslate open-source engine. It's ideal for high-volume, programmatic translation and language auditing.

**How do I set up LibreTranslate API for my agent?**
You just need to subscribe via Vinkius and add your API key or instance URL. Once connected, you can start asking your agent to translate or detect languages.

**Is an API Key required for LibreTranslate API?**
No. LibreTranslate is open-source and many public instances allow free requests. However, some instances or the official site may require an API Key for higher limits.

**Can I use a custom self-hosted instance?**
Yes. Provide the `LIBRETRANSLATE_URL` in the server configuration to point your agent to your own private instance.

**Does it support language detection?**
Yes. Use the `detect_language` tool to identify the primary language of any text string along with a confidence metadata score.