# 朗文当代英语词典MCP服务器
## 基本信息
- Slug: `edgardamasceno-dev-ldoce-mcp-server`
- Source: modelscope
- Publisher: @edgardamasceno-dev/ldoce-mcp-server
- Categories: search / research-and-data
- Hosted: No
- License: Unknown
- Source URL: https://www.modelscope.cn/mcp/servers/@edgardamasceno-dev/ldoce-mcp-server
## 简介
从《朗文当代英语词典》网站提取结构化字典数据，并通过模型上下文协议提供服务，使人工智能代理能够访问详细的单词定义、示例和语言信息。
## 安装提示

```bash
npx -y @smithery/cli install @edgardamasceno-dev/ldoce-mcp-server --client claude
```

## MCP Server 详情

# Ldoce MCP Server
[![smithery badge](https://smithery.ai/badge/@edgardamasceno-dev/ldoce-mcp-server)](https://smithery.ai/server/@edgardamasceno-dev/ldoce-mcp-server)

这是一个用 Node.js 和 TypeScript 开发的 MCP 服务器，它从 Longman Dictionary 获取特定单词的页面，并将提取的数据以标准化的 JSON 格式返回，供 AI 代理使用。

## 描述

该服务器连接到 `https://www.ldoceonline.com/dictionary/<word>` URL，提取诸如介绍、相关主题、条目（动词和名词）、语料库示例和词源等信息，并将这些结构化的数据作为一个 JSON 对象返回。该项目遵循 Model Context Protocol (MCP) 标准，并使用 Axios 和 Cheerio 包进行 HTTP 请求和 HTML 解析。

## 功能

- **从 Longman Dictionary 提取信息：**
  - 介绍和相关主题
  - 条目及其发音细节、含义、示例等
  - 语料库示例
  - 词源

- **使用 MCP SDK 暴露一个工具**，可以集成到像 Claude Desktop 这样的 MCP 客户端中。

## 前提条件

- Node.js（版本 16 或更高）
- npm
- Git

## 安装

### 通过 Smithery 安装

要通过 [Smithery](https://smithery.ai/server/@edgardamasceno-dev/ldoce-mcp-server) 自动为 Claude Desktop 安装 Ldoce 服务器：

```bash
npx -y @smithery/cli install @edgardamasceno-dev/ldoce-mcp-server --client claude
```


### 手动安装
1. 克隆仓库：
   ```bash
   git clone https://github.com/seuusuario/ldoce-mcp-server.git
   cd ldoce-mcp-server
```

