Macrocosmos MCP
Using Macrocosmos MCP with Claude Desktop or Cursor
Last updated
Using Macrocosmos MCP with Claude Desktop or Cursor
Last updated
Macrocosmos MCP (Model Context Protocol) lets you integrate SN13 and SN1 APIs directly into Claude for Desktop or Cursor. Instantly tap into social data, perform live web searches, and explore Hugging Face models — all from your AI environment.
🔍 Query X (Twitter) and Reddit data on demand
🌐 Perform live web search using SN1 miners
📚 Explore SN13 Hugging Face repositories and datasets
Python 3.10
uv
package manager
Install Cursor
Install UV package manager:
This step is required for both Claude Desktop and Cursor — the server is what enables access to the SN1 and SN13 tools.
1. Clone the Repo and Navigate to your project directory
Create and activate a virtual environment
Initialize the project directory (src)
Install required dependencies
Test your MCP server
While it's not required to run the server continuously, performing a quick test ensures that your setup is correct.
To test your server, execute the following command:
This command starts the server and waits for connections. Once you've confirmed it's running correctly, you can stop it by pressing Ctrl+C
.
After this verification, you don't need to run the server manually. As long as the necessary files are present on your local machine, your MCP client (such as Claude Desktop or Cursor) will handle starting the server as needed.
Get the full path to your uv
executable:
Run the following command , this will open your Claude configuration file
Update with this:
Replace "FULL_PATH_TO_UV" with the full path you got from which uv
.
For instance:
Open Claude desktop
Look for the hammer icon — this confirms your MCP server is running. You’ll now see SN1 and SN13 tools available inside Claude.
Watch a demo 👇
You can either update the config file manually or use the built-in UI.
Option 1: Via UI (Recommended)
Go to Cursor Settings
Navigate to your Cursor settings and select add new global MCP server
Option 2: Manual JSON
Paste the same config block (updated with your paths and API keys).
⚠️ Note: In some cases, manually editing this file doesn't activate the MCP server in Cursor. If this happens, use the UI method above for best results.
Update your mcp.json
file
Add the following configuration to your mcp.json
. This will let you access the available tools. (Same values as shown in the Claude config above.)
Use Agent Mode
In Cursor, make sure you're using Agent Mode in the chat. Agents have the ability to use any MCP tool — including custom ones and those from SN1/SN13. You can ask it questions like:
You can now ask questions or give prompts. Be sure to specify when you want the agent to use MCP tools.
Tool Usage in Action
When the agent responds, you’ll see it indicate which MCP tool it’s using, along with a coherent and context-aware reply.
If you encounter any issues:
Ensure you're in the correct directory
Verify that uv
is properly installed
Make sure the virtual environment is activated
Check that all dependencies are properly installed
For more on MCPs please refer to the