Content
# MCP-Jina-AI
[English](#english) | [中文](#中文)
## English
### Introduction
MCP-Jina-AI is a powerful MCP (Model Control Protocol) tool that integrates Jina.ai's reader service to convert web content into large language model (LLM) friendly formats. It provides a simple and efficient way to transform web pages into clean, structured text that can be easily processed by AI models.
### Features
- Easy URL content extraction
- Automatic conversion to LLM-friendly format
- Clean and structured output
- Fast and reliable processing
- Built with Go for high performance
### Installation
```bash
# Install directly using go install
go install github.com/kealuya/mcp-jina-ai@latest
```
Make sure you have Go installed and your `GOPATH` is properly set up in your system's PATH.
### Usage
MCP-Jina-AI is designed to be used as a tool within the MCP ecosystem. Simply provide a URL, and it will return the content in a format optimized for large language models.
### MCP Configuration
To use mcp-jina-ai in MCP, you need to add the following configuration to your MCP configuration file:
```json
{
"mcpServers": {
"mcp-jina-ai": {
"command": "mcp-jina-ai"
}
}
}
```
Configuration instructions:
- Add the above configuration to your MCP configuration file
- Make sure mcp-jina-ai is installed via `go install`
- Restart the MCP service to apply the configuration
### About Jina.ai Reader Service
Jina.ai's reader service (r.jina.ai) is a free service that helps extract the main content from web pages. To use it, simply add 'r.jina.ai/' before any URL you want to process.
Example:
- Original URL: `https://example.com/article`
- Jina.ai URL: `https://r.jina.ai/https://example.com/article`
## 中文
### 简介
MCP-Jina-AI is a powerful MCP (Model Control Protocol) tool that integrates Jina.ai's reader service to convert web content into large language model (LLM) friendly formats. It provides a simple and efficient way to transform web pages into clean, structured text that can be easily processed by AI models.
### 特性
- Easy URL content extraction
- Automatic conversion to LLM-friendly format
- Clean and structured output
- Fast and reliable processing
- Built with Go for high performance
### 安装
```bash
# Install directly using go install
go install github.com/kealuya/mcp-jina-ai@latest
```
Make sure you have Go installed and your `GOPATH` is properly set up in your system's PATH.
### 使用方法
MCP-Jina-AI is designed to be used as a tool within the MCP ecosystem. Simply provide a URL, and it will return the content in a format optimized for large language models.
### MCP配置
To use mcp-jina-ai in MCP, you need to add the following configuration to your MCP configuration file:
```json
{
"mcpServers": {
"mcp-jina-ai": {
"command": "mcp-jina-ai"
}
}
}
```
Configuration instructions:
- Add the above configuration to your MCP configuration file
- Make sure mcp-jina-ai is installed via `go install`
- Restart the MCP service to apply the configuration
### 关于 Jina.ai 阅读器服务
Jina.ai's reader service (r.jina.ai) is a free service that helps extract the main content from web pages. To use it, simply add 'r.jina.ai/' before any URL you want to process.
Example:
- Original URL: `https://example.com/article`
- Jina.ai URL: `https://r.jina.ai/https://example.com/article`
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## 许可证
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.