俚语定义服务

为代理系统(如Claude Desktop及其他MCP客户端)提供Urban Dictionary俚语定义查询服务的MCP服务器。

  • by harshit-kushwaha
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 harshit-kushwaha/urban-dictionary-mcp

使用说明

城市词典MCP服务器

MCP服务器为代理系统(Claude Desktop和其他MCP客户端)公开城市词典俚语定义。

安装并运行

需要节点20+。

快速测试:

npx urban-dictionary-mcp

全局安装:

npm install -g urban-dictionary-mcp
urban-dictionary-mcp

Claude桌面配置

添加到配置文件

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

视窗: %APPDATA%\Claude\claude_desktop_config.json:

使用npx(推荐):

{
  "mcpServers": {
    "urbandictionary": { "command": "npx", "args": ["urban-dictionary-mcp"] }
  }
}

全球安装:

{
  "mcpServers": {
    "urbandictionary": { "command": "urban-dictionary-mcp" }
  }
}

更改后重新启动Claude Desktop。

工具

define_slang –查找定义。

参数:

term (string, required)
limit (number, optional, default 3, max 10)

random_word –随机俚语+定义(无参数)。

交互示例

You: What does "rizz" mean?
You: Give me a random slang word

链接和许可证

github: 库什瓦哈/城市词典mcp

问题: 报告问题

MIT许可证。城市词典社区内容可能包含亵渎或冒犯性内容。