Skip to main content

Complete entity graph MCP server with smart relationships

Project description

Directory MCP

A complete knowledge graph for your people, companies, channels, and projects.

Features

  • 🧠 Smart Understanding: Gemini embeddings understand "backend team Discord" or "John from Anthropic"
  • 🔗 Rich Relationships: Track who works where, who's on what project, who's in which channels
  • 🚀 Zero Setup: SQLite database created automatically
  • 🔄 Auto Updates: Always get the latest version with uvx
  • 🎯 Powerful Queries: Find connections, traverse relationships, discover patterns

Quick Start

# Run it!
uvx directory-mcp

# First run prompts for Gemini API key (get free at https://makersuite.google.com/app/apikey)
# Configure Claude Code and restart

Installation

# Install via pip
pip install directory-mcp

# Or run directly with uvx
uvx directory-mcp

# Configure in Claude Code
# Add to ~/.claude.json:
{
  "mcpServers": {
    "directory": {
      "type": "stdio",
      "command": "uvx",
      "args": ["directory-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Example Usage

Creating Entities

"Create John Doe who works as Senior Engineer at Anthropic, email john@anthropic.com, discord john#1234"
"Create a Slack channel called #backend-team for Anthropic's backend project"
"Add John to the #backend-team channel as an admin"

Finding People

"Find all Python developers at Anthropic"
"Who's on the AI safety project?"
"Find people in the London office"
"Who works with Sarah on any projects?"

Finding Channels

"What's the Discord channel for the frontend team?"
"Find all project channels for the Q1 launch"
"Show me all the Slack channels John is in"

Understanding Relationships

"How are John and Sarah connected?"
"Show me John's full network"
"Who's on the backend team and what channels are they in?"
"Find all channels and people for the AI safety project"

Development

# Clone the repository
git clone https://github.com/markov-ai/directory-mcp.git
cd directory-mcp

# Install in development mode
pip install -e .

# Run tests
pytest tests/

License

MIT License - see LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

directory_mcp-0.4.27.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

directory_mcp-0.4.27-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file directory_mcp-0.4.27.tar.gz.

File metadata

  • Download URL: directory_mcp-0.4.27.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for directory_mcp-0.4.27.tar.gz
Algorithm Hash digest
SHA256 a0c2c2a22ddee7a63eed29ab722f3366fd12cecf9ce2b8ee6c08b91ff74fe9bd
MD5 9e4b9a7055c8f73f59ce1aa236c4f91f
BLAKE2b-256 1b6db78abbf34f4c7e1565400c2f31d94497baa19e6151f9ac3cb84668da41e8

See more details on using hashes here.

File details

Details for the file directory_mcp-0.4.27-py3-none-any.whl.

File metadata

  • Download URL: directory_mcp-0.4.27-py3-none-any.whl
  • Upload date:
  • Size: 39.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for directory_mcp-0.4.27-py3-none-any.whl
Algorithm Hash digest
SHA256 d9a7ebf9d53011b3efb94a2a29f774ea94fb4d916559f83f8457c64cf8bac30f
MD5 c03488ac06dfb1fe9f8508145cc6a205
BLAKE2b-256 35154b5e3d4ef8d3ef3fe71e517f2567e1d88344f86d140239df65934e2e7176

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page