Skip to main content
Glama

梅梅克斯

Memex 用于模型上下文协议

Memex 是一种模型上下文协议 (MCP) 工具,可让您分析网络内容并将其添加到您的知识库中。

该工具的灵感来自Vannevar Bush的Memex项目。

要求

您将需要以下服务的 API 密钥:

该工具生成的知识库存储为 Markdown 文件,因此可以使用任何 Markdown 查看器查看,但建议使用Obsidian 。

Related MCP server: Documentation Crawler & MCP Server

安装

pip install mcp-memex

将以下内容添加到您的claude_desktop_config.json并用实际路径和 API 密钥替换占位符:

{
  "mcpServers": {
    "memex": {
      "command": "uv",
      "args": [
        "--directory",
        "PATH_TO_LOCAL_MEMEX_REPO",
        "run",
        "mcp-memex",
        "--index",
        "PATH_TO_MEMEX_INDEX",
        "--workspace",
        "PATH_TO_OBSIDIAN_VAULT"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "YOUR-API-KEY",
        "FIRECRAWL_API_KEY": "YOUR-API-KEY",
        "VOYAGE_API_KEY": "YOUR-API-KEY"
      }
    }
  }
}

用法

首先向 Claude 询问一个问题,并提供一份可供参考的 URL 列表。

What is the capital of France? "https://en.wikipedia.org/wiki/France"

Claude 完成内容分析后,您将在 Obsidian 库中看到结果。之后,您可以针对内容提问,Memex 将使用知识库来解答您的问题。

What is the capital of France?

发展

要在本地运行该工具,您可以使用以下命令:

npx @modelcontextprotocol/inspector \
  uv \
  --directory PATH_TO_LOCAL_MEMEX_REPO \
  run \
  mcp-memex \
  --index PATH_TO_MEMEX_INDEX \
  --workspace PATH_TO_OBSIDIAN_VAULT

然后打开检查器并连接到服务器。

http://localhost:5173?timeout=30000

Available Tools

3 tools
analyze_web_contentA

Analyze multiple web pages and extract relevant information based on your query. This tool fetches and processes the content from provided URLs to answer your specific questions.

Inputs: query (required), urls (required).

save_artifactB

Save an artifact to the knowledge base

Inputs: content (required).

search_knowledge_baseB

Search through previously analyzed content in the knowledge base using natural language. This tool helps you find relevant information from your stored content.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool targets a distinct action: analyze web content, save to knowledge base, and search the knowledge base. There is no overlap in their purposes.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (analyze_web_content, save_artifact, search_knowledge_base), making them predictable and easy to understand.

    Tool Count4/5

    With only 3 tools, the server feels slightly under-scoped for a knowledge base system, but it may be intentionally focused on core web analysis and storage/search functionality.

    Completeness3/5

    The tool set covers creating artifacts and searching, but lacks update, delete, or listing capabilities, which are notable gaps for managing a knowledge base over time.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers