Skip to main content
Glama
SajaAsfour

Notes & FAQ Search MCP Server

by SajaAsfour

NextFlows

Hi, this is my Academy MCP project

https://nextflows.ai/academy

Notes & FAQ Search MCP Server

What It Does

Notes & FAQ Search is a TypeScript MCP server for searching and managing locally stored notes and frequently asked questions.

The server works fully offline at runtime and uses local JSON fixture data instead of a cloud database or external API.

It exposes five MCP tools:

  • Search notes.

  • Search FAQs.

  • Retrieve a complete note by ID.

  • List notes with optional tag filtering.

  • Add a new note safely to local storage.

The server also exposes two read-only MCP resources:

  • notes://index

  • faq://index

Related MCP server: recall-mcp

Requirements

Before installing the project, make sure you have:

  • Git

  • Node.js 20 or later

  • npm

Check Node.js and npm with:

node --version
npm --version

Install

Clone the repository:

git clone https://github.com/SajaAsfour/mcp-Notes-FAQ-Search-MCP-server.git

Enter the project directory:

cd mcp-Notes-FAQ-Search-MCP-server

Install the dependencies:

npm install

Run

Start the MCP server in development mode:

npm run dev

The server runs over stdio and waits for an MCP client connection.

To stop it, press:

Ctrl+C

Note: If you are using MCP Inspector for testing, you do not need to run npm run dev separately. The MCP Inspector command below starts the server for the Inspector connection.

Optional smoke tests can be run with:

npm test

MCP Inspector

From the project root, launch MCP Inspector with:

npx -y @modelcontextprotocol/inspector npx tsx src/index.ts

Important: Use either npm run dev with another MCP client, or the MCP Inspector command for Inspector-based testing. You do not need to run both at the same time.

When the Inspector opens, connect to the server and open the Tools section.

You should see all five tools listed below.

First Successful Tool Call

To verify that the server is working, you can make your first tool call using get_note:

  1. Open the Tools section in MCP Inspector.

  2. Select get_note.

  3. Enter the following input:

{
  "note_id": "note-001"
}
  1. Run the tool.

A successful call should return the requested note data in the Inspector response.

Tools

Tool

Purpose

Main Input

search_notes

Search locally stored notes using keywords

query, optional limit

search_faqs

Search locally stored FAQ questions and answers

query, optional limit

get_note

Retrieve one complete note by its ID

note_id

list_notes

List stored notes, optionally filtered by tag

optional tag, optional limit

add_note

Validate and add a new note to data/notes.json

title, content, optional tags

limit must be a positive integer no greater than 20.

Example Prompts

Search notes

Ask the server to:

Find notes about MCP tools and resources.

Use search_notes with:

{
  "query": "MCP tools and resources",
  "limit": 5
}

Search FAQs

Ask the server to:

Find the FAQ that explains what an MCP tool is.

Use search_faqs with:

{
  "query": "What is an MCP tool?",
  "limit": 5
}

Get a note

Ask the server to:

Get the full note with ID note-001.

Use get_note with:

{
  "note_id": "note-001"
}

List notes

Ask the server to:

List up to five notes.

Use list_notes with:

{
  "limit": 5
}

Add a note

Ask the server to:

Add a note about testing the MCP server.

Use add_note with:

{
  "title": "MCP Testing",
  "content": "Use MCP Inspector to test the server tools.",
  "tags": ["mcp", "testing"]
}

add_note writes the validated note to data/notes.json. This changes only the local copy of the project's fixture data on your machine; it does not modify any shared database or GitHub data.

Example Conversations

See examples/conversations.md for complete model interaction examples covering all five MCP tools, including the user prompt, expected tool call arguments, and example final responses.

Troubleshooting

1. npm or Node.js is not available

If commands such as npm install or npm run dev are not recognized, confirm that Node.js 20 or later and npm are installed:

node --version
npm --version

Install or update Node.js if the commands are missing or the Node.js version is older than 20.

2. The server or MCP Inspector does not start

Make sure you are running commands from the repository root and that dependencies were installed first:

npm install

Then launch Inspector with the exact command:

npx -y @modelcontextprotocol/inspector npx tsx src/index.ts

If you are using MCP Inspector, do not start npm run dev at the same time.

The project uses stdio for MCP communication, so avoid adding normal output to stdout while the MCP server is running.

3. A tool returns an input validation error

Check that the input matches the expected schema.

For search tools:

  • query must not be empty.

  • limit, when provided, must be a positive integer from 1 to 20.

For get_note, use an ID in this format:

note-001

For example:

{
  "note_id": "note-001"
}

Do not use file paths or values such as ../etc/passwd as note IDs.

License

This project is licensed under the ISC license as declared in package.json.

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
<1hResponse time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Turns a local folder of notes and documents into a searchable knowledge base for AI assistants via MCP, enabling semantic search, reading, and adding notes entirely on-device.
    4
    9
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search and read offline documentation from synced libraries via MCP tools, providing hybrid keyword and semantic search without network calls.
    0
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.

  • Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SajaAsfour/mcp-Notes-FAQ-Search-MCP-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server