{"id":28450185,"url":"https://github.com/anyproto/anytype-mcp","last_synced_at":"2026-02-17T19:02:34.298Z","repository":{"id":296277417,"uuid":"969219067","full_name":"anyproto/anytype-mcp","owner":"anyproto","description":"An MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.","archived":false,"fork":false,"pushed_at":"2026-01-27T19:40:42.000Z","size":3318,"stargazers_count":276,"open_issues_count":7,"forks_count":33,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-02-02T00:51:03.054Z","etag":null,"topics":["anytype","api","mcp","mcp-server","modelcontextprotocol"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@anyproto/anytype-mcp","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anyproto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-19T16:55:01.000Z","updated_at":"2026-02-01T20:10:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"84baf088-f68b-4858-a7f5-9c149c42170c","html_url":"https://github.com/anyproto/anytype-mcp","commit_stats":null,"previous_names":["anyproto/anytype-mcp"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/anyproto/anytype-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anyproto","download_url":"https://codeload.github.com/anyproto/anytype-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29215863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T00:10:47.190Z","status":"ssl_error","status_checked_at":"2026-02-08T00:10:43.589Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anytype","api","mcp","mcp-server","modelcontextprotocol"],"created_at":"2025-06-06T15:06:44.984Z","updated_at":"2026-02-17T19:02:34.291Z","avatar_url":"https://github.com/anyproto.png","language":"TypeScript","funding_links":[],"categories":["Productivity","📚 Projects (1974 total)","🔌 API","Other Tools and Integrations","MCP Servers"],"sub_categories":["Wiki \u0026 Collaboration","MCP Servers","How to Submit","Knowledge \u0026 Memory"],"readme":"# Anytype MCP Server\n\n\u003ca href=\"https://npmjs.org/package/@anyproto/anytype-mcp\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@anyproto/anytype-mcp.svg\" alt=\"NPM version\" height=\"20\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://cursor.com/en-US/install-mcp?name=anytype\u0026config=eyJlbnYiOnsiT1BFTkFQSV9NQ1BfSEVBREVSUyI6IntcIkF1dGhvcml6YXRpb25cIjpcIkJlYXJlciA8WU9VUl9BUElfS0VZPlwiLCBcIkFueXR5cGUtVmVyc2lvblwiOlwiMjAyNS0xMS0wOFwifSJ9LCJjb21tYW5kIjoibnB4IC15IEBhbnlwcm90by9hbnl0eXBlLW1jcCJ9\"\u003e\u003cimg src=\"https://cursor.com/deeplink/mcp-install-dark.svg\" alt=\"Add anytype MCP server to Cursor\" height=\"20\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://lmstudio.ai/install-mcp?name=anytype\u0026config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBhbnlwcm90by9hbnl0eXBlLW1jcCJdLCJlbnYiOnsiT1BFTkFQSV9NQ1BfSEVBREVSUyI6IntcIkF1dGhvcml6YXRpb25cIjpcIkJlYXJlciA8WU9VUl9BUElfS0VZPlwiLCBcIkFueXR5cGUtVmVyc2lvblwiOlwiMjAyNS0xMS0wOFwifSJ9fQ%3D%3D\"\u003e\u003cimg src=\"https://files.lmstudio.ai/deeplink/mcp-install-light.svg\" alt=\"Add MCP Server anytype to LM Studio\" height=\"20\" /\u003e\u003c/a\u003e\n\nThe Anytype MCP Server is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server enabling AI assistants to seamlessly interact with [Anytype's API](https://github.com/anyproto/anytype-api) through natural language.\n\nIt bridges the gap between AI and Anytype's powerful features by converting Anytype's OpenAPI specification into MCP tools, allowing you to manage your knowledge base through conversation.\n\n## Features\n\n- Global \u0026 Space Search\n- Spaces \u0026 Members\n- Objects \u0026 Lists\n- Properties \u0026 Tags\n- Types \u0026 Templates\n\n## Quick Start\n\n### 1. Get Your API Key\n\n1. Open Anytype\n2. Go to App Settings\n3. Navigate to API Keys section\n4. Click on `Create new` button\n\n\u003cdetails\u003e\n\u003csummary\u003eAlternative: Get API key via CLI\u003c/summary\u003e\n\nYou can also get your API key using the command line:\n\n```bash\nnpx -y @anyproto/anytype-mcp get-key\n```\n\n\u003c/details\u003e\n\n### 2. Configure Your MCP Client\n\n#### Claude Desktop, Cursor, Windsurf, Raycast, etc.\n\nAdd the following configuration to your MCP client settings after replacing `\u003cYOUR_API_KEY\u003e` with your actual API key:\n\n```json\n{\n  \"mcpServers\": {\n    \"anytype\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@anyproto/anytype-mcp\"],\n      \"env\": {\n        \"OPENAPI_MCP_HEADERS\": \"{\\\"Authorization\\\":\\\"Bearer \u003cYOUR_API_KEY\u003e\\\", \\\"Anytype-Version\\\":\\\"2025-11-08\\\"}\"\n      }\n    }\n  }\n}\n```\n\n\u003e **Tip:** After creating an API key in Anytype, you can copy that ready-to-use configuration snippet with your API key already filled in from the API Keys section.\n\n#### Claude Code (CLI)\n\nRun this command to add the Anytype MCP server after replacing `\u003cYOUR_API_KEY\u003e` with your actual API key:\n\n```bash\nclaude mcp add anytype -e OPENAPI_MCP_HEADERS='{\"Authorization\":\"Bearer \u003cYOUR_API_KEY\u003e\", \"Anytype-Version\":\"2025-11-08\"}' -s user -- npx -y @anyproto/anytype-mcp\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eAlternative: Global Installation\u003c/summary\u003e\n\nIf you prefer to install the package globally:\n\n1. Install the package:\n\n```bash\nnpm install -g @anyproto/anytype-mcp\n```\n\n2. Update your MCP client configuration to use the global installation:\n\n```json\n{\n  \"mcpServers\": {\n    \"anytype\": {\n      \"command\": \"anytype-mcp\",\n      \"env\": {\n        \"OPENAPI_MCP_HEADERS\": \"{\\\"Authorization\\\":\\\"Bearer \u003cYOUR_API_KEY\u003e\\\", \\\"Anytype-Version\\\":\\\"2025-11-08\\\"}\"\n      }\n    }\n  }\n}\n```\n\n\u003c/details\u003e\n\n### Custom API Base URL\n\nBy default, the server connects to `http://127.0.0.1:31009`. For `anytype-cli` (port `31012`) or other custom base URLs, set `ANYTYPE_API_BASE_URL`:\n\n\u003cdetails\u003e\n\u003csummary\u003eExample Configuration\u003c/summary\u003e\n\n**MCP Client (Claude Desktop, Cursor, etc.):**\n```json\n{\n  \"mcpServers\": {\n    \"anytype\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@anyproto/anytype-mcp\"],\n      \"env\": {\n        \"ANYTYPE_API_BASE_URL\": \"http://localhost:31012\",\n        \"OPENAPI_MCP_HEADERS\": \"{\\\"Authorization\\\":\\\"Bearer \u003cYOUR_API_KEY\u003e\\\", \\\"Anytype-Version\\\":\\\"2025-11-08\\\"}\"\n      }\n    }\n  }\n}\n```\n\n**Claude Code (CLI):**\n```bash\nclaude mcp add anytype \\\n  -e ANYTYPE_API_BASE_URL='http://localhost:31012' \\\n  -e OPENAPI_MCP_HEADERS='{\"Authorization\":\"Bearer \u003cYOUR_API_KEY\u003e\", \"Anytype-Version\":\"2025-11-08\"}' \\\n  -s user -- npx -y @anyproto/anytype-mcp\n```\n\n\u003c/details\u003e\n\n## Example Interactions\n\nHere are some examples of how you can interact with your Anytype:\n\n- \"Create a new space called 'Project Ideas' with description 'A space for storing project ideas'\"\n- \"Add a new object of type 'Task' with title 'Research AI trends' to the 'Project Ideas' space\"\n- \"Create a second one with title 'Dive deep into LLMs' with due date in 3 days and assign it to me\"\n- \"Now create a collection with the title \"Tasks for this week\" and add the two tasks to that list. Set due date of the first one to 10 days from now\"\n\n## Development\n\n### Installation from Source\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/anyproto/anytype-mcp.git\ncd anytype-mcp\n```\n\n2. Install dependencies:\n\n```bash\nnpm install -D\n```\n\n3. Build the project:\n\n```bash\nnpm run build\n```\n\n4. Link the package globally (optional):\n\n```bash\nnpm link\n```\n\n## Contribution\n\nThank you for your desire to develop Anytype together!\n\n❤️ This project and everyone involved in it is governed by the [Code of Conduct](https://github.com/anyproto/.github/blob/main/docs/CODE_OF_CONDUCT.md).\n\n🧑‍💻 Check out our [contributing guide](https://github.com/anyproto/.github/blob/main/docs/CONTRIBUTING.md) to learn about asking questions, creating issues, or submitting pull requests.\n\n🫢 For security findings, please email [security@anytype.io](mailto:security@anytype.io) and refer to our [security guide](https://github.com/anyproto/.github/blob/main/docs/SECURITY.md) for more information.\n\n🤝 Follow us on [Github](https://github.com/anyproto) and join the [Contributors Community](https://github.com/orgs/anyproto/discussions).\n\n---\n\nMade by Any — a Swiss association 🇨🇭\n\nLicensed under [MIT](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyproto%2Fanytype-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyproto%2Fanytype-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyproto%2Fanytype-mcp/lists"}