New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

aidp-protocol

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aidp-protocol

AIDP Protocol - The open protocol for AI-accessible local business data

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
11
175%
Maintainers
1
Weekly downloads
 
Created
Source

🤖 AIDP Protocol

The open protocol for AI-accessible local business data

npm version License: MIT TypeScript

What is AIDP?

AIDP (AI Discovery Protocol) is an open standard that defines how local business data should be structured for AI platforms. Like HTTP for web traffic, AIDP standardizes the data exchange between local businesses and AI assistants.

Why AIDP Matters

Traditional business data formats (Google Business Profile, Yelp API) were designed for web search. AIDP is purpose-built for AI-native discovery:

FeatureTraditional FormatsAIDP Protocol
Designed forWeb crawlersAI assistants
Data structureHTML/JSON fragmentsAI-optimized schema
AvailabilityStaticReal-time
AnalyticsClicks onlyUpstream visibility
ControlPlatform-ownedBusiness-owned

Installation

npm install aidp-protocol

Quick Start

import { validateBusinessProfile, BusinessProfile } from 'aidp-protocol';

const business: BusinessProfile = {
  id: 'biz_123',
  name: 'Acme Coffee Roasters',
  category: 'Coffee Shop',
  description: 'Artisan coffee roasters since 2010',
  location: {
    address: '123 Main St',
    city: 'Portland',
    state: 'OR',
    postalCode: '97201',
    country: 'US',
    coordinates: { latitude: 45.5231, longitude: -122.6765 }
  },
  contact: {
    phone: '+1-503-555-0123',
    email: 'hello@acmecoffee.com',
    website: 'https://acmecoffee.com'
  },
  hours: {
    monday: { open: '07:00', close: '18:00' },
    tuesday: { open: '07:00', close: '18:00' },
    // ...
  }
};

// Validate the profile
const result = validateBusinessProfile(business);

if (result.valid) {
  console.log('✅ Profile is valid and AI-ready!');
} else {
  console.log('❌ Validation errors:', result.errors);
}

Core Features

🎯 AI-Optimized Schema

Structured data designed for LLM comprehension, not just web crawlers.

📊 Upstream Analytics

Track visibility metrics that happen before traditional analytics (impressions, citations).

🔌 Protocol-Agnostic

Works with MCP (Model Context Protocol), ChatGPT Plugins, REST APIs, and more.

🏢 Business-Controlled

Businesses own and control their data — no platform lock-in.

🌐 Open Standard

MIT licensed, community-governed, transparent development.

Use Cases

  • Local Businesses: Make your business discoverable by AI assistants
  • Developers: Build AI-powered local search applications
  • Platforms: Implement AIDP to serve AI-native business data
  • AI Assistants: Query standardized business data via MCP

Documentation

DocumentDescription
Core SchemaData model specification
MCP ToolsModel Context Protocol integration
ValidationTypeScript validation utilities
Migration GuidesMigrate from Google Business, Yelp
GovernanceProject governance model

Contributing

We welcome contributions! Please see our Contributing Guide and Code of Conduct.

Ways to Contribute

License

MIT License — see LICENSE for details.

Built for the AI-native era
Making local business data accessible to AI assistants everywhere

Keywords

aidp

FAQs

Package last updated on 11 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts