Skip to content
Skillpedia
βœ“ Official Β· Anytype (Any)● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyWork and productivity

Anytype MCP Server

Lets your AI agent search and edit your Anytype notes: spaces, objects, lists, tags, types and templates.

536 stars on GitHubby Anytype (Any)License MITUpdated 21 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add anytype -e OPENAPI_MCP_HEADERS="<your value>" -- npx -y @anyproto/anytype-mcp

What to fill in

NameWhat it isRequired
OPENAPI_MCP_HEADERSJSON string of headers for Anytype API. Example: {"Authorization":"Bearer <YOUR_API_KEY>", "Anytype-Version":"2025-05-20"}Yes

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Create a new space called Project Ideas with a short description
Add a Task object titled Research AI trends to the Project Ideas space

What it is

This server connects your AI agent to Anytype, an encrypted and local wiki app, through its API. It turns the Anytype API into MCP tools, so you can manage your knowledge base by talking to your agent. It can search, create objects and lists, and work with properties and tags.

What it can do

  • Global and space search
  • Spaces and members
  • Objects and lists: create and update
  • Properties and tags
  • Types and templates
  • expected_etag check to avoid overwriting a changed object

When to use

  • β€ΊWhen you want your agent to create tasks or notes in Anytype from a chat
  • β€ΊWhen you want to find objects across your spaces by asking in plain words
  • β€ΊWhen you want to organise items into lists or collections without clicking through the app

What you need

Anytype running on your computer and an API key created in App Settings, API Keys. Node.js is needed to run it with npx.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The readme says it is MIT licensed.

What do I need?

A running Anytype app and an API key from its settings. The key goes in the OPENAPI_MCP_HEADERS environment variable.

Where does it connect?

By default to http://127.0.0.1:31009. Set ANYTYPE_API_BASE_URL for another address, such as port 31012 for anytype-cli.

Can it use the older Anytype API?

Yes. It tries the v2 API first and falls back to v1 if v2 is not there.

Which clients work?

Claude Desktop, Cursor, Windsurf, Raycast, LM Studio, Kiro and Claude Code, among others.

Does it manage API keys?

No. Pairing and API-key management tools are left out on purpose.

If it does not work

  • β€ΊCreate an API key in Anytype under App Settings, API Keys, and paste it into the config in place of <YOUR_API_KEY>
  • β€ΊMake sure Anytype is running before the server starts; restart the MCP server after updating Anytype
  • β€ΊSet ANYTYPE_MCP_DEBUG=1 to see operation names and response status on stderr

5 new skills a week. 1 minute to read.