Skip to main content
Glama
feuerdev
by feuerdev

find

Search and retrieve Google Keep notes by matching a query against titles and text, returning results in JSON format with details like id, title, and labels.

Instructions

Find notes based on a search query.

Args:
    query (str, optional): A string to match against the title and text
    
Returns:
    str: JSON string containing the matching notes with their id, title, text, pinned status, color and labels

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo

Implementation Reference

  • The handler function for the MCP tool named 'find'. It uses the Google Keep API to find notes matching the query and serializes them to JSON.
    @mcp.tool()
    def find(query="") -> str:
        """
        Find notes based on a search query.
        
        Args:
            query (str, optional): A string to match against the title and text
            
        Returns:
            str: JSON string containing the matching notes with their id, title, text, pinned status, color and labels
        """
        keep = get_client()
        notes = keep.find(query=query, archived=False, trashed=False)
        
        notes_data = [serialize_note(note) for note in notes]
        return json.dumps(notes_data)
Install Server

Other Tools

Related Tools

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/feuerdev/keep-mcp'

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