Mcp Memex

Analyze web content and enhance your knowledge base by extracting information from URLs, storing it as Markdown files for easy access. Integrates seamlessly with Obsidian to facilitate questioning and retrieval of insights from the curated content.

Author

Mcp Memex logo

narphorium

MIT License

Quick Info

GitHub GitHub Stars 9
NPM Weekly Downloads 0
Tools 1
Last Updated 6/5/2025

Tags

memex narphorium markdown mcp memex memex analyze narphorium mcp

memex

Memex for Model Context Protocol

Memex is a tool for Model Context Protocol (MCP) that allows you to analyze web content and add it to your knowledge base.

The tool was inspired by the Memex project by Vannevar Bush.

Requirements

You will need API keys for the following services:

The knowledge base produced by this tool is stored as Markdown files so they can be viewed with any Markdown viewer but Obsidian is recommended.

Installation

pip install mcp-memex

Add the following to your claude_desktop_config.json and replace the placeholders with the actual paths and API keys:

{
  "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"
      }
    }
  }
}

Usage

Start by asking Claude a question with a list of URLs to reference.

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

Once Claude has finished analyzing the content, you will see the results in your Obsidian vault. You can then ask questions about the content and Memex will use the knowledge base to answer your questions.

What is the capital of France?

Development

To run the tool locally, you can use the following command:

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

Then open the inspector and connect to the server.

http://localhost:5173?timeout=30000