API service
The local API is the HTTP service WiseMindAI runs on this computer. The browser extension, the Obsidian plugin, and your own scripts use it to read and write materials, notes, and review cards in the current learning space. It is separate from the MCP service. MCP is for AI tools that speak MCP. The local API is what plugins and scripts call directly.
It is on by default. If the desktop app is closed, this address does not respond.
Check that it is running
- Open Settings → Developer.
- Look at Enable local API server. It is on by default. Turning it off stops browser clipping immediately.
- Check the local API address. The default is
http://127.0.0.1:38221. - Open API Documentation on this page. Each endpoint has its purpose, parameters, a request example, and a response example. You can search, and you can copy a version meant to be pasted to an AI.
After you change the IP or port, choose Save and restart service. The address must be IPv4, such as 127.0.0.1. The port is from 1 to 65535 and cannot match the MCP service. The MCP default port is 38222. If the browser extension or the Obsidian plugin already has an address, change it to the same one.
Who can call it
- The browser extension must pair first. After the extension requests pairing, confirm the code in the desktop app. After you unpair it, the extension must pair again. A web page cannot call the API directly.
- An ordinary web page is rejected, including a cross-site request from a page to this address.
- A local script, a terminal, and the Obsidian plugin do not use browser pairing. Install the Obsidian plugin and set its address to the same value. See the Obsidian plugin.
What it can do
Endpoints follow the groups in the current API Documentation. A topic in the app is still labeled as a knowledge base in that documentation.
- Utility: check that the service is online, read capabilities and allowed values, and run a global search. Use these before writing.
- Notes: create, read, update, and delete notes, including note folders.
- Files: save a file, a web link, or a passage of text. This is My Materials.
- Knowledge: the app’s topics. Find the topic, then write materials into it.
- Cards: create decks, folders, and cards.
- AI Assistant: chat, summarize, rewrite, and generate review cards, including streaming calls. This group uses the model configured under Settings → AI & Models. That provider bills the call.
- Live transcription: read transcription records, available providers, and quota. Live audio uses a separate streaming connection.
- Legacy: older paths kept for plugins and skills that already call them. New integrations should use the paths that include
v2. The old paths remain, and they stay in the docs.
New materials, notes, and review cards go into the current learning space. After you switch spaces, new content goes into the space that is current.
Related: MCP service · Obsidian plugin · My Materials
