1. Conduid
  2. Developer Tools
  3. Anytype MCP
MCP server · Developer Tools

Anytype MCP

MCP server: Anytype MCP

Unclaimed last commit a year ago devtools
42Fair

Scored 5 months ago · breakdown

About Anytype MCP

Anytype MCP is an MCP server published by wethegreenpeople in the Developer Tools category: mCP server: Anytype MCP.

The repository has 18 stars and 5 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/wethegreenpeople/anytype-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Anytype MCP

Powered by Claude · Grounded in docs

I know everything about Anytype MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Anytype MCP Server

A Model Context Protocol (MCP) server for Anytype that enables semantic search and RAG (Retrieval-Augmented Generation) capabilities over your Anytype documents.

Features

  • Semantic search across your Anytype documents
  • Automatic chunking of documents for improved search accuracy
  • Full metadata support including tags, dates, and custom properties

Prerequisites

  • Python 3.13 or higher
  • uv - Modern Python package installer
  • Ollama - For running the embedding model locally
  • Anytype desktop application

Installation

  1. Clone the repository:
git clone https://github.com/wethegreenpeople/anytype-mcp.git
cd anytype-mcp
  1. Install dependencies:
uv sync
  1. Install the mxbai-embed-large model with Ollama:
ollama pull mxbai-embed-large
  1. Optional: Run initial document ingestion (this can be done later from the client, but depending on your machine and how many notes you have, this might take a few minutes):
python scripts/ingest_only.py
  1. Optional: Install the server in Claude:
fastmcp install server.py

Manual Configuration for Claude Desktop

If you want to manually add the Anytype MCP server to your Claude Desktop application, you'll need to modify the claude_desktop_config.json file. This file is typically located at:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add the following configuration to the mcpServers section of your claude_desktop_config.json:

"anytype": {
  "command": "uv",
  "args": [
    "run",
    "--with",
    "chromadb",
    "--with",
    "fastmcp",
    "--with",
    "httpx",
    "--with",
    "nltk",
    "--with",
    "ollama",
    "--with",
    "platformdirs",
    "--with",
    "sentence-transformers",
    "fastmcp",
    "run",
    "[PATH_TO_ANYTYPE_MCP]/server.py"
  ]
}

Replace [PATH_TO_ANYTYPE_MCP] with the absolute path to your anytype-mcp directory. For example:

  • Windows: C:\\Users\\username\\Documents\\anytype-mcp\\server.py
  • macOS/Linux: /home/username/anytype-mcp/server.py

Make sure to use double backslashes (\\) for Windows paths in the JSON file.

Authentication

The server handles authentication with Anytype via a challenge-based flow:

  1. First run requires obtaining a challenge ID
  2. You'll need to provide a secret code from Anytype
  3. The server stores the authentication token for future sessions

Usage

The server provides several tools that can be used within Claude:

  • ingest_documents: Ingest or update Anytype documents into the vector store
  • query_anytype_documents: Perform semantic search across your documents
  • get_anytype_object: Retrieve a specific Anytype object by ID
  • get_ingestion_stats: View statistics about ingested documents
  • clear_ingestion: Clear the vector store and start fresh

Technical Details

Embedding Model

The mxbai-embed-large model is used for generating embeddings in this project. It's fetched from Ollama and configured in the EmbeddingUtils class. If you prefer to use a different embedding model, you can modify the OLLAMA_MODEL variable in utils/embedding_utils.py.

Data Storage

The application uses platformdirs for cross-platform data storage:

  • ChromaDB data: Stored in a platform-specific user data directory
  • NLTK data: Downloaded and stored locally
  • Authentication tokens: Securely stored in a configuration file

NLTK and Tokenization

This project uses the NLTK library for sentence tokenization, specifically the punkt_tab tokenizer. The tokenizer is automatically downloaded to the application's data directory during initialization.

License

Contributing

README fetched from the repository 8 days ago. The original is authoritative.

Questions

About Anytype MCP

How do I install Anytype MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Anytype MCP safe to use with an AI agent?

Its trust score is 42 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Anytype MCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.