Main Page

From Public AI Wiki
Revision as of 03:33, 23 December 2025 by Publicai admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Public AI is a structured knowledge base of tools and resources that AI assistants can access programmatically to help users with real-world tasks.

What is Public AI?[edit | edit source]

Public AI serves as a bridge between AI assistants (like Claude, ChatGPT, etc.) and real-world information that users need. Instead of AI assistants having outdated or incomplete information, they can query this wiki to get current, accurate, and localized data.

How It Works[edit | edit source]

  1. Structured Data: Information is stored using MediaWiki's Cargo extension, making it queryable like a database
  2. MCP Server: A FastMCP server reads from this wiki and exposes the data as tools that AI assistants can use
  3. AI Integration: When you ask an AI assistant a question (e.g., "What's the suicide hotline in Singapore?"), it queries this wiki and gives you current information

Use Cases[edit | edit source]

  • Crisis Support: Get current hotline numbers and resources for mental health emergencies
  • Transit Information: Real-time public transportation schedules and routes
  • Location Services: Search for places and get geographic information
  • And more...: Any information that benefits from being current, localized, and structured

Browse All Tools[edit | edit source]

Tool description tool type
Tool:SuicideHotline International suicide prevention hotlines and crisis support resources Crisis Support

Tools by Category[edit | edit source]

Crisis Support[edit | edit source]

Tools for mental health emergencies and crisis intervention.

  • Tool:SuicideHotline (description: International suicide prevention hotlines and crisis support resources)

Transit[edit | edit source]

Public transportation tools for journey planning and real-time departures.

No results

Mapping & Location[edit | edit source]

Geographic search and location-based services.

No results

General Tools[edit | edit source]

Other utilities and resources.

No results

Recent Resources[edit | edit source]

Resource country tool
Resource:SuicideHotline/Singapore Singapore Tool:SuicideHotline
Resource:SuicideHotline/Switzerland Switzerland Tool:SuicideHotline
Resource:SampleTool/TestLocation TestCountry Tool:SampleTool

How to Contribute[edit | edit source]

Adding a New Tool[edit | edit source]

  1. Create a page with the prefix Tool: (e.g., Tool:YourToolName)
  2. Use the Template:Tool template
  3. Fill in the required parameters:
    • name: Display name of the tool
    • description: Brief description (one sentence)
    • tool_type: Category (Crisis Support, Transit, Mapping, General)
    • has_resources: Set to "true" if this tool has locale-specific resources
    • overview: Detailed explanation of what the tool does
    • usage: Instructions on how to use the tool

Example:

{{Tool
|name=Weather Alerts
|description=Real-time weather alerts and warnings by region
|tool_type=General
|has_resources=true
|overview=Provides severe weather alerts...
|usage=Query by country or region...
}}

Adding a Resource to an Existing Tool[edit | edit source]

  1. Create a page with format Resource:ToolName/Location (e.g., Resource:SuicideHotline/Singapore)
  2. Use the Template:ToolResource template
  3. Fill in the parameters:
    • tool: Link to parent tool (e.g., "Tool:SuicideHotline")
    • country: Country name
    • region: (Optional) State/province/region
    • data_field1_name through data_field5_name: Custom field names
    • data_field1_value through data_field5_value: Values for those fields
    • additional_info: Any extra information
    • details: Long-form content
    • last_verified: Date you verified this information (YYYY-MM-DD format)

Example:

{{ToolResource
|tool=Tool:SuicideHotline
|country=United States
|region=National
|data_field1_name=Phone
|data_field1_value=988 (Suicide & Crisis Lifeline, 24/7)
|data_field2_name=Text Service
|data_field2_value=Text "HELLO" to 741741 (Crisis Text Line)
|additional_info=Free and confidential support
|last_verified=2024-01-15
}}

Updating Existing Information[edit | edit source]

  1. Find the resource page you want to update
  2. Click "Edit" at the top of the page
  3. Update the relevant fields
  4. Important: Update the last_verified date to today's date
  5. Save the page
  6. Navigate to Special:CargoTables and click "Recreate" for the ToolResources table

Technical Documentation[edit | edit source]

For Developers[edit | edit source]

This wiki uses:

  • MediaWiki: The underlying wiki platform
  • Cargo Extension: Structured data storage and querying
  • FastMCP Server: Exposes wiki data as MCP tools for AI assistants

API Access[edit | edit source]

Data can be queried via:

  • MediaWiki API: Standard MediaWiki API endpoints
  • Cargo API: Special:CargoQuery for structured queries
  • MCP Server: FastMCP server provides simplified access for AI assistants

Cargo Tables[edit | edit source]

View and manage the structured data:

  • View all Cargo tables
  • Tools table: Stores all tool definitions
  • ToolResources table: Stores locale-specific resource data

Guidelines[edit | edit source]

Quality Standards[edit | edit source]

  • Accuracy: All information must be current and verified
  • Verification: Always include a last_verified date
  • Completeness: Provide all relevant contact methods (phone, text, online)
  • Localization: Information should be specific to the country/region
  • Neutrality: Present information objectively without bias

What Belongs Here[edit | edit source]

Good candidates for Public AI:

  • Information that changes over time (phone numbers, schedules)
  • Localized data (country/region-specific resources)
  • Public services (hotlines, transit, emergency services)
  • Data that AI assistants frequently need but may not have current info on

Not appropriate:

  • Personal or private information
  • Copyrighted content without permission
  • Information that rarely changes and is well-known (e.g., historical facts)
  • Opinion pieces or subjective content

Example Tools[edit | edit source]

Here are some tools already available:

Need Help?[edit | edit source]

Statistics[edit | edit source]

0
Resources



0
Resources


country Resources
Singapore 1
Switzerland 1
TestCountry 1