Skip to content

Jeffrin-dev/NotionMind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NotionMind ๐Ÿง 

Python License Version Notion MCP Voice Cost Groq Platform PRs Welcome

Your Notion workspace, but it thinks back.

NotionMind is a free, voice-enabled AI agent that uses your Notion workspace as its long-term memory. Save notes by speaking, ask questions about your past work, search by meaning not keywords, trace connections across your knowledge graph, and view a stunning terminal analytics dashboard โ€” all at zero cost.


๐ŸŽฌ What It Looks Like

$ python3 notionmind.py
 
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ NotionMind โ€” Your Notion-powered AI memory          โ”‚
โ”‚ You have 26 note(s) in your brain.                  โ”‚
โ”‚ ๐Ÿ”Š Voice: online โ€” Jenny neural voice               โ”‚
โ”‚ Type help to see all commands.                      โ”‚
โ”‚ ๐Ÿ’ก Use exact commands for faster, accurate results. โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
 
>: I researched about AI models today
Routing...
โ†’ routed to: save
โœ“ Saved! Title: Researched on AI
 
Related notes in your brain:
  โ†’ New AI models (2026-03-24)
  โ†’ Free AI models (2026-03-22)

๐ŸŒ Real World Applications

๐Ÿ‘จโ€๐Ÿ’ป Developers

  • Daily standup prep โ€” ask "what did I work on this week?" and get an instant summary
  • Bug log โ€” save bug fixes as you go, search them months later by meaning
  • Inbox research โ€” add topics to Notion inbox, run executor, wake up to a full summary

๐Ÿ“š Students

  • Study notes โ€” save lecture notes by speaking, ask questions during revision
  • Exam prep โ€” ask "summarise everything I learned about machine learning"
  • Todo list โ€” track assignments by priority and due date

๐Ÿ’ผ Freelancers

  • Work log โ€” track hours and tasks per client
  • Invoice prep โ€” search notes by client name to compile billable work

๐Ÿ”ฌ Researchers

  • Automated research โ€” add topics to inbox, executor searches web and writes summaries
  • Knowledge graph โ€” AI traces connections across all your notes

๐Ÿ  Personal Life

  • Fitness tracking โ€” log workouts by voice, ask for monthly reflections
  • Daily journal โ€” speak your day, ask for monthly insights

โœจ Features

Feature Description
๐Ÿ’พ Smart Save AI auto-generates title, tags, and date from plain text
๐Ÿง  Ask AI searches your Notion notes and answers questions
๐Ÿค– Natural Language Input Groq routes plain English to the right command automatically
๐Ÿ“‹ List View all notes in a clean table
๐Ÿ” Search Filter notes by keyword
๐Ÿ“Š Stats Streak counter, note count, top tags
๐Ÿ“ฅ Inbox Add research tasks from CLI
โšก Executor Auto-researches tasks via web search, writes results to Notion
๐Ÿ“„ Results View completed task results in terminal
๐ŸŽค Voice Input Speak instead of type using Google Speech Recognition
๐Ÿ”Š Voice Output Neural TTS โ€” Jenny (Edge TTS) online, espeak offline
๐Ÿ—‘๏ธ Delete Remove notes with confirmation
๐Ÿค– MCP Agent Natural language โ†’ Notion tool calls
โฐ Scheduler Set daily cron jobs to auto-run executor
๐Ÿ“… Today Show only today's notes at a glance
๐Ÿ“ค Export Export notes to markdown โ€” filter by date, tag, range, or specific note
๐Ÿ“– Read Read full page content of any note
๐ŸŒ Multi-language Voice in English, Hindi, Spanish, French, Tamil, Malayalam
๐Ÿ“ฑ Telegram Bot Full control from your phone โ€” all commands supported
โฐ Reminders Set reminders with date, time, voice + Telegram notifications
๐Ÿ–ผ๏ธ Image Notes Save screenshots to Notion โ€” file path or clipboard
๐Ÿ“Š Weekly Report Auto-generated weekly summary saved to Notion + Telegram
๐Ÿค– AI Organiser Auto-tag, find duplicates, merge notes, auto-categorise
๐Ÿ”„ Two-way Sync Pull, edit locally, push back to Notion with watch mode
๐Ÿ“ฆ Knowledge Base Save code snippets, terminal commands, bookmarks
๐Ÿง  Knowledge Graph AI-powered note connections โ€” view, relate, find paths
๐Ÿ” Semantic Search Search by meaning using fastembed โ€” finds "Kerala cricketer" even if keywords differ
๐Ÿ’ก Think Multi-hop reasoning โ€” traces connections across notes + graph
๐Ÿ“ˆ Recall How your understanding of a topic evolved over time
๐Ÿ’ฌ Suggest Auto-suggests related notes every time you save
๐Ÿ“Š Dashboard Terminal analytics โ€” heatmap, growth chart, topic velocity, reminders, todos
๐Ÿ”ฎ Insights AI-powered personal insights โ€” peak productivity, knowledge gaps, fading topics
โœ… Todo List Priority todos stored in Notion โ€” due dates, complete, delete

๐Ÿ†“ Free Stack

Component Tool Cost
AI Brain Groq โ€” Llama 3.3 70B + Llama 3.1 8B Free tier
Workspace Notion API Free
Semantic Search fastembed (BAAI/bge-small-en-v1.5) Free โ€” runs locally
Web Search DuckDuckGo (ddgs) Free
Voice Input Google Speech Recognition Free
Voice Output (online) Microsoft Edge TTS โ€” Jenny Neural Free
Voice Output (offline) espeak + MBROLA Free
Telegram Bot python-telegram-bot Free
Language Python 3.10+ Free

Total monthly cost: $0


๐Ÿš€ Setup

Prerequisites

  • Python 3.10+
  • A free Notion account
  • A free Groq account

1. Clone the repo

git clone https://github.com/Jeffrin-dev/NotionMind.git
cd NotionMind

2. Create virtual environment

python3 -m venv venv
source venv/bin/activate  # Linux/Mac
venv\Scripts\activate     # Windows (WSL2)

3. Install Python dependencies

pip install notion-client==2.2.1 groq python-dotenv rich \
            httpx mcp httpx-sse ddgs SpeechRecognition \
            pyaudio edge-tts pygame schedule \
            python-telegram-bot Pillow fastembed numpy

4. Install system dependencies (Linux)

sudo apt install portaudio19-dev espeak mbrola mbrola-en1 mpg123 xclip -y

5. Set up API keys

Notion API key:

  • Go to notion.so/my-integrations โ†’ New integration โ†’ copy the secret

Notion Database ID:

  • Create a Notion database with columns: Name, Date, Tags, Summary
  • Connect your integration to it
  • Copy the ID from the URL

Groq API key:

  • Go to console.groq.com โ†’ API Keys โ†’ Create (free)
cp .env.example .env

Edit .env:

NOTION_API_KEY=secret_your_key_here
NOTION_DATABASE_ID=your_database_id_here
GROQ_API_KEY=gsk_your_key_here
TELEGRAM_BOT_TOKEN=your_token_here
TELEGRAM_CHAT_ID=your_chat_id_here

6. Run

# Interactive CLI โ€” daily notes + questions
python3 notionmind.py
 
# MCP Agent โ€” natural language Notion queries
python3 agent.py
 
# Task Executor โ€” processes inbox, searches web, writes to Notion
python3 executor.py
 
# Scheduler (cron + manual trigger)
python3 scheduler.py
 
# Reminder daemon
python3 reminders.py
 
# Telegram Bot
python3 telegram_bot.py

๐Ÿ’ก The Killer Daily Workflow

# Morning โ€” check what's on
python3 notionmind.py
>: dashboard          # heatmap, growth, todos, reminders at a glance
>: insights           # AI surfaces what matters today
 
# During the day โ€” just type naturally
>: i fixed the JWT expiry bug in the auth module
>: who is Linus Torvalds          # routes to ask automatically
>: Biggest open-source project       # semantic search finds Linux
 
# Add research tasks
>: inbox
 
# Evening โ€” let the agent do the research
python3 executor.py

๐Ÿ“ Project Structure

notionmind/
โ”œโ”€โ”€ notionmind.py    # Main CLI with natural language routing
โ”œโ”€โ”€ agent.py         # MCP-powered natural language agent
โ”œโ”€โ”€ executor.py      # Autonomous task executor + weekly report
โ”œโ”€โ”€ mcp_client.py    # Notion MCP tool definitions and dispatcher
โ”œโ”€โ”€ search.py        # Free DuckDuckGo web search
โ”œโ”€โ”€ voice.py         # Voice input/output + multi-language
โ”œโ”€โ”€ scheduler.py     # Cron + Python scheduler
โ”œโ”€โ”€ organiser.py     # AI auto-organiser
โ”œโ”€โ”€ sync.py          # Two-way sync
โ”œโ”€โ”€ knowledge.py     # Knowledge base
โ”œโ”€โ”€ brain.py         # Knowledge graph + semantic search + think + recall
โ”œโ”€โ”€ analytics.py     # Terminal dashboard + AI insights
โ”œโ”€โ”€ todos.py         # Todo list stored in Notion
โ”œโ”€โ”€ reminders.py     # Reminders with voice + Telegram
โ”œโ”€โ”€ image.py         # Image notes via Notion File Upload API
โ”œโ”€โ”€ telegram_bot.py  # Full-featured Telegram bot
โ”œโ”€โ”€ .env.example     # API key template
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ LICENSE          # MIT
โ”œโ”€โ”€ CONTRIBUTING.md
โ””โ”€โ”€ CHANGELOG.md

๐Ÿค Contributing

See CONTRIBUTING.md

๐Ÿ“ Changelog

See CHANGELOG.md

๐Ÿ“„ License

MIT โ€” see LICENSE


Built for the Notion MCP Challenge ยท March 2026 ยท by @Jeffrin-dev

About

Free voice-enabled AI agent that uses Notion as its brain

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages