Skip to main content
Glama

Marginalia MCP Server

边注 MCP 服务器

MCP(模型上下文协议)服务器提供对Marginalia Search 的访问,Marginalia Search 是一个专注于查找非商业内容和互联网隐藏瑰宝的搜索引擎。

特征

  • 使用 Marginalia Search API 搜索网页
  • 可配置的搜索参数包括索引和结果计数
  • 带有有用错误消息的速率限制保护
  • 使用 MCP SDK 构建,实现无缝集成

安装

npm install npm run build

配置

可以使用环境变量来配置服务器:

  • MARGINALIA_API_KEY :您的 Marginalia Search API 密钥(可选,默认为公开访问)

要申请专用 API 密钥,请联系: kontakt@marginalia.nu

用法

服务器提供以下MCP工具:

搜索

使用 Marginalia Search 按照以下参数搜索网页:

  • query (必需):搜索查询字符串
  • index (可选):搜索索引号(对应于主 GUI 中的下拉菜单)
  • count (可选):返回的结果数(1-100,默认值:10)

通过 MCP 使用的示例:

const result = await mcp.useTool("marginalia", "search", { query: "interesting non-commercial websites", count: 5 });

响应格式

搜索结果以以下格式返回:

{ "query": "your search query", "license": "license information", "results": [ { "url": "result url", "title": "page title", "description": "page description" } // ... more results ] }

错误处理

该服务器包括强大的错误处理功能:

  • 速率限制(503 条回复)
  • 无效请求
  • 网络错误
  • API 特定错误

添加文本转语音支持

要使用 say MCP 服务器启用文本转语音功能,请添加以下配置:

对于 Cline(VSCode 扩展)

添加到~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

{ "mcpServers": { "say": { "command": "node", "args": ["/Users/barton/worlds/servers/src/say-mcp-server/build/index.js"] } } }

对于克劳德桌面

添加到~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "say": { "command": "node", "args": ["/Users/barton/worlds/servers/src/say-mcp-server/build/index.js"] } } }

Say MCP 服务器提供文本转语音功能,支持多种语音和语言。可用工具:

  • speak :使用指定的声音和速率大声朗读文本
  • list_voices :列出所有可用的文本转语音声音

执照

MIT 许可证 - 详情请参阅许可证文件

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

提供对 Marginalia Search 的访问,以发现非商业和独立的网络内容,返回带有 URL、标题和描述的唯一站点。

  1. 特征
    1. 安装
      1. 配置
        1. 用法
          1. 搜索
        2. 响应格式
          1. 错误处理
            1. 添加文本转语音支持
              1. 对于 Cline(VSCode 扩展)
              2. 对于克劳德桌面
            2. 执照

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                Enables performing local web searches and extracting structured content from web pages using the Model Context Protocol, featuring customizable result limits and domain filtering.
                Last updated -
                5
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                Searching google, individual websites and scraping their content. Fast and cost-effective. ⚡️
                Last updated -
                16
                TypeScript
                MIT License
              • -
                security
                -
                license
                -
                quality
                Allows you to search the web using DuckDuckGo and optionally fetch and summarize content from search results.
                Last updated -
                Python
              • -
                security
                -
                license
                -
                quality
                Enables free web searching using Google search results with no API keys required, returning structured results with titles, URLs, and descriptions.
                Last updated -
                6

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/bmorphism/marginalia-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server